-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
28 lines (24 loc) · 928 Bytes
/
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
import pathlib
import sys
from setuptools import find_packages, setup
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
# See https://pytest-runner.readthedocs.io/en/latest/#conditional-requirement
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
setup(
name="propelauth-flask",
version="2.1.19",
description="A library for managing authentication in Flask",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/propelauth/propelauth-flask",
packages=find_packages(include=["propelauth_flask"]),
author="PropelAuth",
author_email="[email protected]",
license="MIT",
install_requires=["flask<4", "propelauth-py==3.1.19", "requests"],
setup_requires=pytest_runner,
tests_require=["pytest==4.4.1"],
test_suite="tests",
)