setup.py 764 B

1234567891011121314151617181920212223242526
  1. # -*- encoding: utf-8 -*-
  2. import setuptools
  3. from distutils.core import setup
  4. setup(
  5. name='datetime_truncate',
  6. version='1.1.1',
  7. url='https://github.com/mediapop/datetime_truncate',
  8. author='Björn Andersson / Media Pop',
  9. author_email='bjorn@mediapop.co',
  10. description='Truncate datetime objects to a set level of precision',
  11. license='BSD',
  12. long_description=open('README.rst').read(),
  13. packages=['datetime_truncate'],
  14. package_data={
  15. '': ['README.rst']
  16. },
  17. include_package_data=True,
  18. test_suite='nose.collector',
  19. tests_require=['nose>=1.2.1'],
  20. classifiers=[
  21. 'Intended Audience :: Developers',
  22. 'License :: OSI Approved :: BSD License',
  23. 'Programming Language :: Python',
  24. ],
  25. )