setup.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/usr/bin/env python
  2. from setuptools import setup
  3. import os
  4. long_description = open("README.rst").read()
  5. install_requires = ['numpy>=1.13.0,!=1.16.0',
  6. 'quantities>=0.12.1']
  7. extras_require = {
  8. 'hdf5io': ['h5py'],
  9. 'igorproio': ['igor'],
  10. 'kwikio': ['scipy', 'klusta'],
  11. 'neomatlabio': ['scipy>=1.0.0'],
  12. 'nixio': ['nixio>=1.5.0b2'],
  13. 'stimfitio': ['stfio'],
  14. 'tiffio': ['pillow']
  15. }
  16. with open("neo/version.py") as fp:
  17. d = {}
  18. exec(fp.read(), d)
  19. neo_version = d['version']
  20. setup(
  21. name="neo",
  22. version=neo_version,
  23. packages=[
  24. 'neo', 'neo.core', 'neo.io', 'neo.rawio', 'neo.test',
  25. 'neo.test.coretest', 'neo.test.iotest', 'neo.test.rawiotest'],
  26. install_requires=install_requires,
  27. extras_require=extras_require,
  28. author="Neo authors and contributors",
  29. author_email="samuel.garcia@cnrs.fr",
  30. description="Neo is a package for representing electrophysiology data in "
  31. "Python, together with support for reading a wide range of "
  32. "neurophysiology file formats",
  33. long_description=long_description,
  34. license="BSD-3-Clause",
  35. url='https://neuralensemble.org/neo',
  36. python_requires=">=3.6",
  37. classifiers=[
  38. 'Development Status :: 4 - Beta',
  39. 'Intended Audience :: Science/Research',
  40. 'License :: OSI Approved :: BSD License',
  41. 'Natural Language :: English',
  42. 'Operating System :: OS Independent',
  43. 'Programming Language :: Python :: 3',
  44. 'Programming Language :: Python :: 3.6',
  45. 'Programming Language :: Python :: 3.7',
  46. 'Programming Language :: Python :: 3.8',
  47. 'Programming Language :: Python :: 3 :: Only',
  48. 'Topic :: Scientific/Engineering']
  49. )