setup.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import os
  2. import setuptools
  3. with open('README.rst', 'r') as readme:
  4. LONG_DESCRIPTION = readme.read()
  5. setuptools.setup(
  6. name='freesurfer-stats',
  7. use_scm_version={
  8. 'write_to': os.path.join('freesurfer_stats', 'version.py'),
  9. # `version` triggers pylint C0103
  10. 'write_to_template': "__version__ = '{version}'\n",
  11. },
  12. description="Python Library to Read FreeSurfer's cortical parcellation anatomical statistics",
  13. long_description=LONG_DESCRIPTION,
  14. author='Fabian Peter Hammerle',
  15. author_email='fabian@hammerle.me',
  16. url='https://github.com/fphammerle/freesurfer-stats',
  17. # TODO add license
  18. keywords=[
  19. 'anatomy',
  20. 'aparc',
  21. 'area',
  22. 'brain',
  23. 'cortex',
  24. 'dataframe',
  25. 'freesurfer',
  26. 'mris_anatomical_stats',
  27. 'neuroimaging',
  28. 'pandas',
  29. 'parcellation',
  30. 'reader',
  31. 'statistics',
  32. 'surface',
  33. 'volume',
  34. ],
  35. classifiers=[
  36. 'Development Status :: 3 - Alpha',
  37. 'Intended Audience :: Healthcare Industry',
  38. 'Intended Audience :: Science/Research',
  39. 'Programming Language :: Python :: 3.5',
  40. 'Programming Language :: Python :: 3.6',
  41. 'Programming Language :: Python :: 3.7',
  42. 'Topic :: Scientific/Engineering :: Information Analysis',
  43. 'Topic :: Scientific/Engineering :: Medical Science Apps.',
  44. 'Topic :: Utilities',
  45. ],
  46. packages=setuptools.find_packages(),
  47. install_requires=[
  48. # TODO add lower version constraint
  49. 'pandas<1',
  50. ],
  51. setup_requires=[
  52. 'setuptools_scm',
  53. ],
  54. tests_require=[
  55. 'pylint>=2.3.0,<3',
  56. 'pytest-cov<3,>=2',
  57. 'pytest-timeout<2',
  58. 'pytest<5',
  59. ],
  60. )