setup.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # -*- coding: utf-8 -*-
  2. import os
  3. import sys
  4. __DIR__ = os.path.abspath(os.path.dirname(__file__))
  5. import codecs
  6. from setuptools import setup
  7. from setuptools.command.test import test as TestCommand
  8. import demeter
  9. def read(filename):
  10. """Read and return `filename` in root dir of project and return string"""
  11. return codecs.open(os.path.join(__DIR__, filename), 'r').read()
  12. install_requires = read("requirements.txt").split()
  13. long_description = read('README.md')
  14. setup(
  15. name="Demeter",
  16. version=demeter.__version__,
  17. url='https://github.com/shemic/demeter',
  18. license='MIT License',
  19. author='Rabin',
  20. description=('A simple framework based on Tornado'),
  21. long_description=long_description,
  22. packages=['demeter'],
  23. install_requires = install_requires,
  24. #tests_require=['pytest'],
  25. #cmdclass = {'test': Pytest},
  26. data_files=[
  27. # Populate this with any files config files etc.
  28. ],
  29. classifiers=[
  30. "Development Status :: 5 - Production/Stable",
  31. "Intended Audience :: Developers",
  32. "License :: OSI Approved :: MIT License",
  33. "Natural Language :: English",
  34. "Operating System :: OS Independent",
  35. "Programming Language :: Python :: 2",
  36. "Programming Language :: Python :: 3",
  37. "Topic :: Software Development :: Libraries :: Application Frameworks",
  38. ]
  39. )