| 1 |
import os |
| 2 |
import pkg_resources |
| 3 |
from setuptools import setup |
| 4 |
from cas_server import VERSION |
| 5 |
|
| 6 |
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: |
| 7 |
README = readme.read() |
| 8 |
|
| 9 |
if __name__ == '__main__': |
| 10 |
# allow setup.py to be run from any path |
| 11 |
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) |
| 12 |
|
| 13 |
setup( |
| 14 |
name='django-cas-server', |
| 15 |
version=VERSION, |
| 16 |
packages=[ |
| 17 |
'cas_server', 'cas_server.migrations', |
| 18 |
'cas_server.management', 'cas_server.management.commands', |
| 19 |
'cas_server.tests', 'cas_server.templatetags' |
| 20 |
], |
| 21 |
include_package_data=True, |
| 22 |
license='GPLv3', |
| 23 |
description=( |
| 24 |
'A Django Central Authentication Service server ' |
| 25 |
'implementing the CAS Protocol 3.0 Specification' |
| 26 |
), |
| 27 |
long_description=README, |
| 28 |
author='Valentin Samir', |
| 29 |
author_email='[email protected]', |
| 30 |
classifiers=[ |
| 31 |
'Environment :: Web Environment', |
| 32 |
'Development Status :: 5 - Production/Stable', |
| 33 |
'Framework :: Django', |
| 34 |
'Framework :: Django :: 1.11', |
| 35 |
'Framework :: Django :: 2.2', |
| 36 |
'Framework :: Django :: 3.2', |
| 37 |
'Framework :: Django :: 4.2', |
| 38 |
'Framework :: Django :: 5.2', |
| 39 |
'Intended Audience :: Developers', |
| 40 |
'Intended Audience :: System Administrators', |
| 41 |
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
| 42 |
'Operating System :: OS Independent', |
| 43 |
'Programming Language :: Python', |
| 44 |
'Programming Language :: Python :: 3', |
| 45 |
'Programming Language :: Python :: 3.6', |
| 46 |
'Programming Language :: Python :: 3.7', |
| 47 |
'Programming Language :: Python :: 3.8', |
| 48 |
'Programming Language :: Python :: 3.9', |
| 49 |
'Programming Language :: Python :: 3.10', |
| 50 |
'Programming Language :: Python :: 3.11', |
| 51 |
'Programming Language :: Python :: 3.12', |
| 52 |
'Programming Language :: Python :: 3.13', |
| 53 |
'Topic :: Software Development :: Libraries :: Python Modules', |
| 54 |
'Topic :: Internet :: WWW/HTTP', |
| 55 |
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
| 56 |
'Topic :: System :: Systems Administration :: Authentication/Directory' |
| 57 |
], |
| 58 |
package_data={ |
| 59 |
'cas_server': [ |
| 60 |
'templates/cas_server/*', |
| 61 |
'static/cas_server/*', |
| 62 |
'locale/*/LC_MESSAGES/*', |
| 63 |
] |
| 64 |
}, |
| 65 |
keywords=['django', 'cas', 'cas3', 'server', 'sso', 'single sign-on', 'authentication', 'auth'], |
| 66 |
install_requires=[ |
| 67 |
'Django >= 1.11,<5.3', 'requests >= 2.4', 'requests_futures >= 0.9.5', |
| 68 |
'lxml >= 3.4' |
| 69 |
], |
| 70 |
url="https://github.com/nitmir/django-cas-server", |
| 71 |
download_url="https://github.com/nitmir/django-cas-server/releases/latest", |
| 72 |
zip_safe=False, |
| 73 |
setup_requires=[], |
| 74 |
tests_require=['pytest', 'pytest-django', 'pytest-pythonpath', 'pytest-warnings', 'mock>=1'], |
| 75 |
) |