setup.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from distutils.core import setup
  4. from setuptools import find_packages
  5. import os
  6. def get_long_description():
  7. path = os.path.join(os.path.dirname(__file__), 'README.rst')
  8. with open(path) as f:
  9. return f.read()
  10. setup(
  11. name='django-netfields',
  12. version='0.2.2',
  13. license='BSD',
  14. description='Django PostgreSQL netfields implementation',
  15. long_description=get_long_description(),
  16. url='https://github.com/jimfunk/django-postgresql-netfields',
  17. author=u'James Oakley',
  18. author_email='jfunk@funktronics.ca',
  19. packages=find_packages(),
  20. include_package_data=True,
  21. zip_safe=False,
  22. install_requires=[
  23. 'netaddr',
  24. 'django>=1.3',
  25. ],
  26. classifiers=[
  27. 'Development Status :: 4 - Beta',
  28. 'Environment :: Web Environment',
  29. 'Framework :: Django',
  30. 'Intended Audience :: Developers',
  31. 'License :: OSI Approved :: BSD License',
  32. 'Operating System :: OS Independent',
  33. 'Programming Language :: Python',
  34. 'Topic :: Utilities',
  35. ],
  36. )