setup.py 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from setuptools import setup
  4. import os
  5. long_description = open("README.rst").read()
  6. install_requires = ['numpy>=1.7.1',
  7. 'quantities>=0.9.0']
  8. extras_require = {
  9. 'hdf5io': ['h5py'],
  10. 'igorproio': ['igor'],
  11. 'kwikio': ['scipy', 'klusta'],
  12. 'neomatlabio': ['scipy>=0.12.0'],
  13. 'nixio': ['nixio'],
  14. 'stimfitio': ['stfio'],
  15. }
  16. if os.environ.get('TRAVIS') == 'true' and \
  17. os.environ.get('TRAVIS_PYTHON_VERSION').startswith('2.6'):
  18. install_requires.append('unittest2>=0.5.1')
  19. setup(
  20. name = "neo",
  21. version = '0.5.1',
  22. packages = ['neo', 'neo.core', 'neo.io', 'neo.test', 'neo.test.iotest'],
  23. install_requires=install_requires,
  24. extras_require=extras_require,
  25. author = "Neo authors and contributors",
  26. author_email = "samuel.garcia@cnrs.fr",
  27. description = "Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats",
  28. long_description = long_description,
  29. license = "BSD-3-Clause",
  30. url='http://neuralensemble.org/neo',
  31. classifiers = [
  32. 'Development Status :: 4 - Beta',
  33. 'Intended Audience :: Science/Research',
  34. 'License :: OSI Approved :: BSD License',
  35. 'Natural Language :: English',
  36. 'Operating System :: OS Independent',
  37. 'Programming Language :: Python :: 2',
  38. 'Programming Language :: Python :: 2.6',
  39. 'Programming Language :: Python :: 2.7',
  40. 'Programming Language :: Python :: 3',
  41. 'Programming Language :: Python :: 3.3',
  42. 'Programming Language :: Python :: 3.4',
  43. 'Programming Language :: Python :: 3.5',
  44. 'Programming Language :: Python :: 3.6',
  45. 'Topic :: Scientific/Engineering']
  46. )