forked from ucl-pond/pySuStaIn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (29 loc) · 1.24 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
# Authors: Leon Aksman <l.aksman@ucl.ac.uk>
# License: TBC
__version__ = '0.1'
from setuptools import setup
#parse the requirement.txt file, ignoring commented lines, placing results in install_reqs
with open('requirements.txt', 'r') as f:
install_reqs = [
s for s in [
line.strip(' \n') for line in f
] if not s.startswith('#') and s != ''
]
print("Started pySuStaIn setup.py")
setup(name= 'pySuStaIn',
version= __version__,
description= 'Python implementation of the SuStaIn algorithm',
url= 'https://github.com/ucl-pond/pySuStaIn',
classifiers= ['Intended Audience :: Science/Research',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 3.7'],
maintainer= 'Leon Aksman',
maintainer_email= 'l.aksman@ucl.ac.uk',
license= 'TBC',
packages= ['pySuStaIn', 'sim'],
python_requires= '>=3.7',
install_requires = install_reqs, #the parsed requirements from requirements.txt
entry_points= {},
zip_safe= False)
print("Finished pySuStaIn setup.py")