-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
54 lines (48 loc) · 1.89 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
def readme():
with open('README.rst') as f:
return f.read()
def get_version(short=False):
with open('README.rst') as f:
for line in f:
if ':Version:' in line:
ver = line.split(':')[2].strip()
if short:
subver = ver.split('.')
return '%s.%s' % tuple(subver[:2])
else:
return ver
setup(name='pyBAMBI',
version=get_version(),
description='pyBAMBI:'
'Resurrecting BAMBI for the pythonic deep learning era ',
long_description=readme(),
author='Dark Machines collaboration',
author_email='[email protected]',
url='https://github.com/DarkMachines/pyBAMBI',
packages=find_packages(),
install_requires=['numpy', 'contextlib2'],
setup_requires=['pytest-runner'],
extras_require={
'docs': ['sphinx', 'sphinx_rtd_theme', 'numpydoc'],
},
tests_require=['pytest'],
include_package_data=True,
license='MIT',
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Mathematics',
],
)