Debian Codegraph @

setup.py

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