Skip to content

Commit

Permalink
fix: use TUTOR_VERSION for a better version management
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithEmad committed Nov 24, 2023
1 parent 2c16226 commit a295a95
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
TUTOR_VERSION = ">=16.0.0,<17.0.0"

with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f:
readme = f.read()
Expand Down Expand Up @@ -33,10 +34,10 @@
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.8",
install_requires=["tutor>=16.0.0,<17.0.0", "requests"],
install_requires=[f"tutor{TUTOR_VERSION}" , "requests"],
extras_require={
"dev": [
"tutor[dev]>=16.0.0,<17.0.0",
f"tutor[dev]{TUTOR_VERSION}" ,
"types-requests==2.31.0.0"
],
},
Expand Down

0 comments on commit a295a95

Please sign in to comment.