Skip to content

Commit 20ca043

Browse files
committed
Adjust setup.py to ensure backward compatibility for Python versions starting from 3.6 and later.
1 parent aeb9175 commit 20ca043

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
if [ "$TASK" = "publish" ]; then
44
echo "Publishing to PyPI..."
55
python setup.py sdist bdist_wheel
6+
twine check dist/*
67
twine upload dist/* --repository-url https://upload.pypi.org/legacy/ -u "__token__" -p "$PYPI_API_TOKEN"
78
else
89
if [ "$RUN_PRE_COMMIT" == "true" ]; then

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="django-api-versioning",
8-
version="0.1.1",
8+
version="0.1.2",
99
author="Mojtaba Arvin",
1010
author_email="ArvinDevDay@gmail.com",
1111
description= (
@@ -29,7 +29,7 @@
2929
"License :: OSI Approved :: MIT License",
3030
"Operating System :: OS Independent",
3131
],
32-
python_requires=">=3.9",
32+
python_requires=">=3.6",
3333
install_requires=[
3434
"Django>=3.2",
3535
],

0 commit comments

Comments
 (0)