-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
63 lines (57 loc) · 1.83 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
55
56
57
58
59
60
61
62
63
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, "README.rst")).read()
CHANGES = open(os.path.join(here, "CHANGES.rst")).read()
except IOError:
README = CHANGES = ""
requires = [
"pyramid>=2.0",
"zope.interface",
"pyramid_services>=2.0", # LookupError instead of ValueError
]
tests_require = requires + [
"pytest",
"coverage",
"pytest-cov",
]
docs_require = requires + [
"sphinx",
"repoze.sphinx.autointerface",
]
setup(
name="pyramid_authsanity",
version="2.0.0",
description="An auth policy for the Pyramid Web Framework with sane defaults.",
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Pyramid",
"Intended Audience :: Developers",
"License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="pyramid authorization policy",
python_requires=">=3.7",
author="Bert JW Regeer",
author_email="[email protected]",
url="https://github.com/usingnamespace/pyramid_authsanity",
packages=find_packages("src", exclude=["tests"]),
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require={
"testing": tests_require,
"docs": docs_require,
},
entry_points={},
)