2022-05-29 22:52:04 +02:00
|
|
|
Index: python-jose-3.3.0/setup.py
|
2019-04-11 11:00:34 +02:00
|
|
|
===================================================================
|
2022-05-29 22:52:04 +02:00
|
|
|
--- python-jose-3.3.0.orig/setup.py
|
|
|
|
+++ python-jose-3.3.0/setup.py
|
|
|
|
@@ -23,11 +23,9 @@ def get_packages(package):
|
|
|
|
pyasn1 = ["pyasn1"]
|
2019-04-11 11:00:34 +02:00
|
|
|
extras_require = {
|
2022-05-29 22:52:04 +02:00
|
|
|
"cryptography": ["cryptography>=3.4.0"],
|
|
|
|
- "pycrypto": ["pycrypto >=2.6.0, <2.7.0"] + pyasn1,
|
|
|
|
- "pycryptodome": ["pycryptodome >=3.3.1, <4.0.0"] + pyasn1,
|
2019-04-11 11:00:34 +02:00
|
|
|
}
|
2020-03-10 11:06:24 +01:00
|
|
|
# TODO: work this into the extras selection instead.
|
2022-05-29 22:52:04 +02:00
|
|
|
-install_requires = ["ecdsa != 0.15", "rsa"] + pyasn1
|
|
|
|
+install_requires = ["ecdsa >= 0.16", "rsa"] + pyasn1
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
@@ -63,14 +61,11 @@ setup(
|
|
|
|
],
|
|
|
|
extras_require=extras_require,
|
|
|
|
setup_requires=[
|
|
|
|
- "pytest-runner",
|
|
|
|
"setuptools>=39.2.0",
|
|
|
|
],
|
|
|
|
tests_require=[
|
|
|
|
"ecdsa != 0.15",
|
|
|
|
"pytest",
|
|
|
|
- "pytest-cov",
|
|
|
|
- "pytest-runner",
|
|
|
|
],
|
|
|
|
install_requires=install_requires,
|
|
|
|
)
|