-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (65 loc) · 2.03 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"""Installation script."""
from setuptools import setup
name = 'tlapy'
description = (
'Python tools for working with TLA+ specifications.')
README = 'README.md'
long_description = open(README).read()
url = 'https://github.com/johnyf/{name}'.format(name=name)
VERSION_FILE = '{name}/_version.py'.format(name=name)
MAJOR = 0
MINOR = 0
MICRO = 1
version = '{major}.{minor}.{micro}'.format(
major=MAJOR, minor=MINOR, micro=MICRO)
s = (
'# This file was generated from setup.py\n'
"version = '{version}'\n").format(version=version)
install_requires = [
'networkx >= 2.0',
'PyPDF2 >= 1.26.0', # `tlapy.utils.join_modules`
'tla >= 0.0.1', # `tlapy.proof_graph`
]
tests_require = ['nose']
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering',
'Topic :: Utilities',
]
keywords = [
'TLA+', 'TLA', 'temporal logic of actions',
'formal', 'specification',
'utilities', 'LaTeX', 'proof renumbering',
'plotting', 'proofs',
]
def run_setup():
with open(VERSION_FILE, 'w') as f:
f.write(s)
setup(
name=name,
version=version,
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
author='Ioannis Filippidis',
author_email='jfilippidis@gmail.com',
url=url,
license='BSD',
install_requires=install_requires,
tests_require=tests_require,
packages=[name],
package_dir={name: name},
classifiers=classifiers,
keywords=keywords)
if __name__ == '__main__':
run_setup()