-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (48 loc) · 1.26 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
import sys
from os import path
from setuptools import find_packages, setup
PROJECT_ROOT = path.dirname(__file__)
# fmt:off
SRC_ROOT = path.join(PROJECT_ROOT, "src")
sys.path.insert(0, SRC_ROOT)
from paseto import __about__ # noqa isort:skip
# fmt:on
with open(path.join(PROJECT_ROOT, "README.rst"), "rt") as f:
long_description = f.read()
install_requires = [
"attrs==20.*",
"cryptography==2.*",
"PyNaCl==1.*",
]
tests_require = [
"coverage==5.2",
"flake8-bandit==2.1.1",
"flake8-bugbear==19.8.0",
"flake8-isort==2.7.0",
"flake8==3.7.8",
"hypothesis==5.10.5",
"isort==4.3.21",
"pep8-naming==0.8.2",
"pytest==5.4.1",
]
dev_requires = ["black>=19.10b0"]
setup(
name=__about__.__title__,
version=__about__.__version__,
description=__about__.__summary__,
long_description=long_description,
url=__about__.__uri__,
author=__about__.__author__,
author_email=__about__.__email__,
license=__about__.__license__,
package_dir={"": "src"},
packages=find_packages(where=SRC_ROOT),
install_requires=install_requires,
tests_require=tests_require,
extras_require={"test": tests_require, "dev": dev_requires},
test_suite="py.test",
zip_safe=False,
classifiers=[
# TODO
],
)