setup.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. install_requires=[],
  43. setup_requires=[
  44. 'setuptools_scm',
  45. ],
  46. tests_require=[
  47. 'pylint>=2.3.0,<3',
  48. 'pytest<5',
  49. 'pytest-cov<3,>=2',
  50. ],
  51. )