setup.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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-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="Python script & library to read hippocampal subfield volumes"
  13. "computed by Freesurfer & ASHS",
  14. long_description=LONG_DESCRIPTION,
  15. author="Fabian Peter Hammerle",
  16. author_email="fabian@hammerle.me",
  17. url="https://github.com/fphammerle/freesurfer-volume-reader",
  18. # TODO add license
  19. keywords=[
  20. "brain",
  21. "freesurfer",
  22. "hippocampus",
  23. "neuroimaging",
  24. "reader",
  25. "subfields",
  26. ],
  27. classifiers=[
  28. "Development Status :: 3 - Alpha",
  29. "Intended Audience :: Healthcare Industry",
  30. "Intended Audience :: Science/Research",
  31. "Programming Language :: Python :: 3.5",
  32. "Programming Language :: Python :: 3.6",
  33. "Programming Language :: Python :: 3.7",
  34. "Programming Language :: Python :: 3.8",
  35. "Topic :: Scientific/Engineering :: Information Analysis",
  36. "Topic :: Scientific/Engineering :: Medical Science Apps.",
  37. "Topic :: Utilities",
  38. ],
  39. packages=setuptools.find_packages(),
  40. entry_points={
  41. "console_scripts": [
  42. "freesurfer-volume-reader = freesurfer_volume_reader.__main__:main"
  43. ]
  44. },
  45. install_requires=[
  46. # >=0.21.0 pandas.DataFrame.drop(columns=[...], ...)
  47. "pandas>=0.21.0,<2"
  48. ],
  49. setup_requires=["setuptools_scm"],
  50. tests_require=[
  51. "pylint>=2.3.0,<3",
  52. "pytest<5",
  53. "pytest-cov<3,>=2",
  54. "pytest-timeout<2",
  55. ],
  56. )