setup.py 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. import os
  2. from setuptools import find_packages, setup
  3. with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
  4. README = readme.read()
  5. # allow setup.py to be run from any path
  6. os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  7. setup(
  8. name='django-truncate',
  9. version='0.1',
  10. packages=find_packages(),
  11. include_package_data=True,
  12. license='BSD License',
  13. description='A simple Django app to help developers truncate specific models.',
  14. long_description=README,
  15. url='https://github.com/KhaledElAnsari/django-truncate',
  16. author='Khaled Al-Ansari',
  17. author_email='khaledelansari@gmail.com',
  18. classifiers=[
  19. 'Environment :: Web Environment',
  20. 'Framework :: Django',
  21. 'Framework :: Django :: 1.9',
  22. 'Framework :: Django :: 1.8',
  23. 'Framework :: Django :: 1.7',
  24. 'Intended Audience :: Developers',
  25. 'License :: OSI Approved :: BSD License',
  26. 'Operating System :: OS Independent',
  27. 'Programming Language :: Python',
  28. 'Programming Language :: Python :: 2',
  29. 'Programming Language :: Python :: 2.7',
  30. 'Programming Language :: Python :: 3',
  31. 'Programming Language :: Python :: 3.4',
  32. 'Programming Language :: Python :: 3.5',
  33. 'Topic :: Internet :: WWW/HTTP',
  34. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
  35. ],
  36. )