-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
65 lines (58 loc) · 1.94 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
#!/usr/bin/env python
import imp
import io
import os
from setuptools import setup, find_packages
def read(*filenames, **kwargs):
encoding = kwargs.get("encoding", "utf-8")
sep = kwargs.get("sep", "\n")
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
name = 'nengolib'
root = os.path.dirname(os.path.realpath(__file__))
version_module = imp.load_source(
'version', os.path.join(root, name, 'version.py'))
deps = [ # https://github.com/nengo/nengo/issues/508
"nengo>=2.2.0,<3.0",
"numpy>=1.13",
"scipy>=0.19.0",
]
download_url = (
'https://github.com/arvoelke/nengolib/archive/v%s.tar.gz' % (
version_module.version))
setup(
name=name,
version=version_module.version,
author="Aaron R. Voelker",
author_email="[email protected]",
description="Tools for robust dynamics in Nengo",
long_description=read("README.rst", "CHANGES.rst"),
url="https://github.com/arvoelke/nengolib/",
download_url=download_url,
license="Free for non-commercial use (see Nengo license)",
packages=find_packages(),
setup_requires=deps,
install_requires=deps,
keywords=[
'Neural Engineering Framework',
'Nengo',
'Dynamical Spiking Networks',
'Neural Dynamics',
'Reservoir Computing',
],
classifiers=[ # https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 5 - Production/Stable',
'Framework :: Nengo',
'Intended Audience :: Science/Research',
'License :: Free for non-commercial use',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
]
)