|
| 1 | +#!/usr/bin/env python |
| 2 | +# encoding: utf-8 |
| 3 | + |
| 4 | +# Third Party Libs |
| 5 | +from setuptools import setup |
| 6 | + |
| 7 | + |
| 8 | +# Generate a Long Decription for the PyPi page which is the README.rst |
| 9 | +# Plus the CHANGELOG.rst |
| 10 | +long_description = open('./README.rst').read() |
| 11 | +changelog = open('./CHANGELOG.rst').read() |
| 12 | +long_description += '\n' + changelog |
| 13 | + |
| 14 | +# Get Version |
| 15 | +version = open('./VERSION.txt').read().strip() |
| 16 | + |
| 17 | + |
| 18 | +setup( |
| 19 | + name='djangohmac', |
| 20 | + url='https://github.com/thisissoon/django-hmac', |
| 21 | + version=version, |
| 22 | + author='SOON_', |
| 23 | + |
| 24 | + description='Provides easy integration of the HMAC signatures for ' |
| 25 | + 'your REST Django Applications.', |
| 26 | + long_description=long_description, |
| 27 | + packages=[ |
| 28 | + 'djangohmac', |
| 29 | + ], |
| 30 | + install_requires=[ |
| 31 | + 'django', |
| 32 | + 'six', |
| 33 | + 'ipdb' |
| 34 | + ], |
| 35 | + classifiers=[ |
| 36 | + 'Framework :: Djanog', |
| 37 | + 'Environment :: Web Environment', |
| 38 | + 'Intended Audience :: Developers', |
| 39 | + 'License :: OSI Approved :: MIT License', |
| 40 | + 'Development Status :: 5 - Production/Stable', |
| 41 | + 'Operating System :: OS Independent', |
| 42 | + 'Programming Language :: Python', |
| 43 | + 'Programming Language :: Python :: 2', |
| 44 | + 'Programming Language :: Python :: 2.6', |
| 45 | + 'Programming Language :: Python :: 2.7', |
| 46 | + 'Programming Language :: Python :: 3', |
| 47 | + 'Programming Language :: Python :: 3.3', |
| 48 | + 'Programming Language :: Python :: 3.4', |
| 49 | + 'Topic :: Software Development', |
| 50 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
| 51 | + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
| 52 | + 'License :: Public Domain' |
| 53 | + ], |
| 54 | + license='Public Domain', |
| 55 | + keywords=['Django', 'HMAC', 'REST', 'Views', 'middleware'], |
| 56 | + test_suite='tests', |
| 57 | +) |
0 commit comments