django-cas-server/setup.py

74 lines
3.0 KiB
Python
Raw Normal View History

2015-05-22 19:14:33 +00:00
import os
import pkg_resources
2015-05-22 19:14:33 +00:00
from setuptools import setup
from cas_server import VERSION
2016-07-23 16:41:46 +00:00
2015-05-22 19:14:33 +00:00
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
2016-07-23 16:41:46 +00:00
if __name__ == '__main__':
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
2015-05-22 19:14:33 +00:00
2016-07-23 16:41:46 +00:00
setup(
name='django-cas-server',
version=VERSION,
packages=[
'cas_server', 'cas_server.migrations',
'cas_server.management', 'cas_server.management.commands',
2016-09-07 18:18:30 +00:00
'cas_server.tests', 'cas_server.templatetags'
2016-07-23 16:41:46 +00:00
],
include_package_data=True,
license='GPLv3',
description=(
'A Django Central Authentication Service server '
'implementing the CAS Protocol 3.0 Specification'
),
long_description=README,
author='Valentin Samir',
author_email='valentin.samir@crans.org',
classifiers=[
'Environment :: Web Environment',
2016-07-27 14:03:11 +00:00
'Development Status :: 5 - Production/Stable',
2016-07-23 16:41:46 +00:00
'Framework :: Django',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
2016-08-25 11:02:09 +00:00
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
2018-01-27 09:44:34 +00:00
'Framework :: Django :: 2.0',
2016-07-23 16:41:46 +00:00
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
2016-07-23 16:41:46 +00:00
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: System :: Systems Administration :: Authentication/Directory'
],
package_data={
'cas_server': [
'templates/cas_server/*',
'static/cas_server/*',
'locale/*/LC_MESSAGES/*',
]
},
keywords=['django', 'cas', 'cas3', 'server', 'sso', 'single sign-on', 'authentication', 'auth'],
install_requires=[
2018-01-27 09:44:34 +00:00
'Django >= 1.7,<2.1', 'requests >= 2.4', 'requests_futures >= 0.9.5',
'lxml >= 3.4', 'six >= 1'
2016-07-23 16:41:46 +00:00
],
url="https://github.com/nitmir/django-cas-server",
2016-08-02 23:50:45 +00:00
download_url="https://github.com/nitmir/django-cas-server/releases/latest",
2016-07-23 16:41:46 +00:00
zip_safe=False,
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-django', 'pytest-pythonpath', 'pytest-warnings', 'mock>=1'],
2016-07-23 16:41:46 +00:00
)