setup.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import os
  2. import setuptools
  3. import freesurfer_surface
  4. LONG_DESCRIPTION = freesurfer_surface.__doc__.strip()
  5. setuptools.setup(
  6. name='freesurfer-surface',
  7. use_scm_version={
  8. 'write_to': os.path.join('freesurfer_surface', '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-surface',
  17. # TODO add license
  18. keywords=[
  19. 'brain',
  20. 'freesurfer',
  21. 'mesh',
  22. 'neuroimaging',
  23. 'reader',
  24. 'surface',
  25. 'triangle',
  26. 'vertex',
  27. ],
  28. classifiers=[
  29. 'Development Status :: 3 - Alpha',
  30. 'Intended Audience :: Healthcare Industry',
  31. 'Intended Audience :: Science/Research',
  32. # TODO
  33. # 'Programming Language :: Python :: 3.4',
  34. # 'Programming Language :: Python :: 3.5',
  35. # 'Programming Language :: Python :: 3.6',
  36. # 'Programming Language :: Python :: 3.7',
  37. 'Topic :: Scientific/Engineering :: Information Analysis',
  38. 'Topic :: Scientific/Engineering :: Medical Science Apps.',
  39. 'Topic :: Utilities',
  40. ],
  41. packages=setuptools.find_packages(),
  42. entry_points={
  43. 'console_scripts': [
  44. 'freesurfer-annotation-labels = freesurfer_surface.__main__:annotation_labels',
  45. ],
  46. },
  47. install_requires=[
  48. 'numpy<2',
  49. ],
  50. setup_requires=[
  51. 'setuptools_scm',
  52. ],
  53. tests_require=[
  54. 'pylint>=2.3.0,<3',
  55. 'pytest<5',
  56. 'pytest-cov<3,>=2',
  57. ],
  58. )