-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (49 loc) · 1.92 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import os
import sys
from setuptools import find_packages, setup
from pucas import __version__
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
REQUIREMENTS = ["django>=1.8", "django-cas-ng>=3.6", "ldap3"]
TEST_REQUIREMENTS = ["pytest", "pytest-django", "pytest-cov"]
if sys.version_info < (3, 0):
TEST_REQUIREMENTS.append("mock")
setup(
name="pucas",
version=__version__,
packages=find_packages(),
include_package_data=True,
license="Apache License, Version 2.0",
description="Django app to login with CAS and populate user accounts with LDAP.",
long_description=README,
url="https://github.com/Princeton-CDH/django-pucas",
install_requires=REQUIREMENTS,
setup_requires=["pytest-runner"],
tests_require=TEST_REQUIREMENTS,
extras_require={
"test": TEST_REQUIREMENTS,
},
author="CDH @ Princeton",
author_email="[email protected]",
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP",
"Topic :: System :: Systems Administration :: Authentication/Directory",
"Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
],
)