|
| 1 | +# coding: utf-8 |
| 2 | +import os |
| 3 | +from setuptools import find_packages, setup |
| 4 | + |
| 5 | +with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: |
| 6 | + README = readme.read() |
| 7 | + |
| 8 | +# allow setup.py to be run from any path |
| 9 | +os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) |
| 10 | + |
| 11 | +setup( |
| 12 | + name='djangorestframework-sso', |
| 13 | + version='0.0.2', |
| 14 | + packages=find_packages(), |
| 15 | + include_package_data=True, |
| 16 | + license='MIT License', |
| 17 | + description='Single sign-on extension to the Django REST Framework.', |
| 18 | + long_description=README, |
| 19 | + url='https://github.com/namespace-ee/django-rest-framework-sso', |
| 20 | + author='Lenno Nagel', |
| 21 | + |
| 22 | + classifiers=[ |
| 23 | + 'Development Status :: 3 - Alpha', |
| 24 | + 'Environment :: Web Environment', |
| 25 | + 'Framework :: Django', |
| 26 | + 'Framework :: Django :: 1.9', |
| 27 | + 'Intended Audience :: Developers', |
| 28 | + 'License :: OSI Approved :: MIT License', |
| 29 | + 'Operating System :: OS Independent', |
| 30 | + 'Programming Language :: Python', |
| 31 | + 'Programming Language :: Python :: 2', |
| 32 | + 'Programming Language :: Python :: 2.7', |
| 33 | + 'Programming Language :: Python :: 3', |
| 34 | + 'Programming Language :: Python :: 3.4', |
| 35 | + 'Programming Language :: Python :: 3.5', |
| 36 | + 'Topic :: Internet :: WWW/HTTP', |
| 37 | + 'Topic :: Internet :: WWW/HTTP :: Session', |
| 38 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
| 39 | + ], |
| 40 | + install_requires=[ |
| 41 | + 'PyJWT>=1.4.0,<2.0.0', |
| 42 | + ], |
| 43 | +) |
0 commit comments