setup.py 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import os
  2. import setuptools
  3. import freesurfer_volume_reader
  4. LONG_DESCRIPTION = freesurfer_volume_reader.__doc__.strip()
  5. setuptools.setup(
  6. name='freesurfer-volume-reader',
  7. use_scm_version={
  8. 'write_to': os.path.join('freesurfer_volume_reader', 'version.py'),
  9. # `version` triggers pylint C0103
  10. 'write_to_template': "__version__ = '{version}'\n",
  11. },
  12. description=LONG_DESCRIPTION.split(sep='\n', maxsplit=1)[0],
  13. long_description=LONG_DESCRIPTION,
  14. author='Fabian Peter Hammerle',
  15. author_email='fabian@hammerle.me',
  16. url='https://github.com/fphammerle/freesurfer-volume-reader',
  17. # TODO add license
  18. keywords=[
  19. 'brain',
  20. 'freesurfer',
  21. 'hippocampus',
  22. 'neuroimaging',
  23. 'reader',
  24. 'subfields',
  25. ],
  26. classifiers=[
  27. 'Development Status :: 3 - Alpha',
  28. 'Intended Audience :: Healthcare Industry',
  29. 'Intended Audience :: Science/Research',
  30. 'Programming Language :: Python :: 3.5',
  31. 'Programming Language :: Python :: 3.6',
  32. 'Programming Language :: Python :: 3.7',
  33. 'Topic :: Scientific/Engineering :: Information Analysis',
  34. 'Topic :: Scientific/Engineering :: Medical Science Apps.',
  35. 'Topic :: Utilities',
  36. ],
  37. packages=setuptools.find_packages(),
  38. entry_points={
  39. 'console_scripts': [
  40. 'freesurfer-volume-reader = freesurfer_volume_reader.__main__:main',
  41. ],
  42. },
  43. install_requires=[
  44. # pandas.DataFrame.drop(columns=[...], ...)
  45. 'pandas>=0.21.0,<1',
  46. ],
  47. setup_requires=[
  48. 'setuptools_scm',
  49. ],
  50. tests_require=[
  51. 'pylint>=2.3.0,<3',
  52. 'pytest<5',
  53. 'pytest-cov<3,>=2',
  54. 'pytest-timeout<2',
  55. ],
  56. )