Skip to content

Commit a0a2b3e

Browse files
committed
3.13 setup.py updates
1 parent 0eecee9 commit a0a2b3e

File tree

1 file changed

+29
-22
lines changed

1 file changed

+29
-22
lines changed

Diff for: setup.py

+29-22
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
1-
from setuptools import setup, find_packages
1+
# -*- coding: utf-8 -*-
2+
from setuptools import find_packages
3+
from setuptools import setup
4+
5+
version = {}
6+
with open("yoti_python_sdk/version.py") as fp:
7+
exec(fp.read(), version)
28

39
setup(
4-
name="your_package_name", # Replace with your actual package name
5-
version="your_package_version", # Replace with your actual package version
6-
packages=find_packages(),
10+
name="yoti",
11+
version=version["__version__"],
12+
packages=find_packages(include=["yoti_python_sdk", "yoti_python_sdk.*"]),
13+
license="MIT",
14+
description="The Yoti Python SDK, providing API support for Login, Verify (2FA) and Age Verification.",
15+
long_description=open("README.md").read(),
16+
long_description_content_type="text/markdown",
17+
url="https://github.com/getyoti/yoti-python-sdk",
18+
author="Yoti",
19+
author_email="[email protected]",
720
install_requires=[
8-
"deprecated==1.2.10",
9-
"cryptography==44.0.2",
10-
"protobuf==4.25.3",
11-
"requests==2.32.3",
12-
"future==0.18.3",
21+
"deprecated==1.2.13",
22+
"cryptography>=2.2.1",
23+
"protobuf==3.13.0",
24+
"requests>=2.11.1",
25+
"future>=0.18.2",
1326
"asn1==2.2.0",
14-
"pyopenssl==25.0.0",
15-
"iso8601==0.1.14",
16-
"wheel==0.43.0",
17-
"pytz==2024.1",
18-
"cffi==1.17.1",
19-
"charset-normalizer==3.4.1",
20-
"idna==2.7",
21-
"urllib3==2.3.0",
22-
"six==1.16.0",
23-
"wrapt==1.17.2",
27+
"pyopenssl>=18.0.0",
28+
"iso8601==1.0.2",
29+
"wheel==0.37.1",
30+
"pytz==2022.1",
2431
],
2532
extras_require={
2633
"examples": [
@@ -56,10 +63,10 @@
5663
"Programming Language :: Python :: 3.8",
5764
"Programming Language :: Python :: 3.9",
5865
"Programming Language :: Python :: 3.10",
59-
"Programming Language :: Python :: 3.11",
60-
"Programming Language :: Python :: 3.12",
66+
"Programming Language :: Python :: 3.11", # Added based on Python 3.13 used for pip-compile
67+
"Programming Language :: Python :: 3.12", # Added based on Python 3.13 used for pip-compile
6168
"Programming Language :: Python :: 3.13",
6269
"Topic :: Software Development :: Libraries :: Python Modules",
6370
],
6471
keywords="yoti sdk 2FA multifactor authentication verification identity login register verify 2Factor",
65-
)
72+
)

0 commit comments

Comments
 (0)