This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
51 lines (45 loc) · 1.75 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
#!/usr/bin/env python
from sys import version
if version < '2.2.3':
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
DistributionMetadata.download_url = None
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
with open('README.md') as file:
long_description = file.read()
setup(
name = 'ViSAPy',
version = '1.0',
maintainer = 'Espen Hagen',
maintainer_email = '[email protected]',
url = 'https://www.github.com/espenhgn/ViSAPy',
packages = ['ViSAPy'],
provides = ['ViSAPy'],
description = 'ViSAPy (Virtual Spiking Activity in Python)',
long_description = long_description,
cmdclass = {'build_ext': build_ext},
ext_modules = [Extension("ViSAPy.cyextensions", ["ViSAPy/cyextensions.pyx"],
include_dirs=[numpy.get_include()]),
Extension("ViSAPy.driftcell", ["ViSAPy/driftcell.pyx"],
include_dirs=[numpy.get_include()]),
],
classifiers=[
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Cython',
'Operating System :: Linux :: Unix :: OSX',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Physics',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Development Status :: 4 - Beta',
],
requires = [
'numpy', 'scipy', 'matplotlib', 'neuron', 'Cython', 'h5py', 'mpi4py', 'sqlite3',
]
)