forked from neurokernel/neurokernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
88 lines (80 loc) · 2.71 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/usr/bin/env python
import sys, os
from glob import glob
# Install setuptools if it isn't available:
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from distutils.command.install import INSTALL_SCHEMES
from distutils.command.install_headers import install_headers
from setuptools import find_packages
from setuptools import setup
NAME = 'neurokernel'
VERSION = '0.1'
AUTHOR = 'Neurokernel Development Team'
AUTHOR_EMAIL = '[email protected]'
URL = 'https://github.com/neurokernel/neurokernel/'
MAINTAINER = AUTHOR
MAINTAINER_EMAIL = AUTHOR_EMAIL
DESCRIPTION = 'An open architecture for Drosophila brain emulation'
LONG_DESCRIPTION = DESCRIPTION
DOWNLOAD_URL = URL
LICENSE = 'BSD'
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Software Development']
NAMESPACE_PACKAGES = ['neurokernel']
PACKAGES = find_packages()
if __name__ == "__main__":
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
# This enables the installation of neurokernel/__init__.py as a data
# file:
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
setup(
name = NAME,
version = VERSION,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
license = LICENSE,
classifiers = CLASSIFIERS,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
url = URL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
namespace_packages = NAMESPACE_PACKAGES,
packages = PACKAGES,
# Force installation of __init__.py in namespace package:
data_files = [('neurokernel', ['neurokernel/__init__.py'])],
include_package_data = True,
install_requires = [
'bidict >= 0.1.0',
'bottleneck >= 0.7.0',
'futures >= 2.1.5',
'h5py >= 2.2.1',
'matplotlib >= 1.3.0',
'msgpack-numpy >= 0.3.1.1',
'networkx >= 1.9',
'numexpr >= 2.3',
'numpy >= 1.2.0',
'pandas > 0.14.1',
'pycuda >= 2014.1',
'pyzmq >= 13.0',
'scipy >= 0.11.0',
'tables >= 2.4.0',
'twiggy >= 0.4.0',
],
extras_require = {
'sphinx_rtd_theme': ['sphinx_rtd_theme >= 0.1.6'],
}
)