forked from AllenInstitute/mouse_connectivity_models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (43 loc) · 2.14 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
from setuptools import setup, find_packages
DISTNAME = 'mouse_connectivity_models'
DESCRIPTION = 'Python package providing mesoscale connectivity models for mouse.'
with open('README.rst') as f:
LONG_DESCRIPTION = f.read()
AUTHOR = 'Joseph Knox'
AUTHOR_EMAIL = '[email protected]'
URL = 'http://mouse-connectivity-models.readthedocs.io/en/latest/'
DOWNLOAD_URL = 'https://github.com/AllenInstitute/mouse_connectivity_models'
LICENSE = 'Allen Institute Software License'
import mcmodels
VERSION = mcmodels.__version__
extra_setuptools_args = dict(include_package_data=True,
setup_requires=['pytest-runner'])
def setup_package():
metadata = dict(name=DISTNAME,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
download_url=DOWNLOAD_URL,
version=VERSION,
long_description=LONG_DESCRIPTION,
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Bio-Informatics'],
**extra_setuptools_args)
metadata['packages'] = find_packages()
setup(**metadata)
if __name__ == "__main__":
setup_package()