Skip to content

Commit

Permalink
deprecation note for setup.py and requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
bug-or-feature committed Nov 18, 2024
1 parent 651bf66 commit d4b3a82
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
######################################################################
# This method of installing the project is deprecated
# Dependencies and package data are defined in 'pyproject.toml'
# See the README
# This file will be removed in a future release
######################################################################

pandas==2.1.3
matplotlib>=3.0.0
pyyaml==6.0.1
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
from setuptools import setup, find_packages
from distutils.version import StrictVersion

######################################################################
# This method of installing the project is deprecated
# Dependencies and package data are defined in 'pyproject.toml'
# See the README
# This file will be removed in a future release
######################################################################


if StrictVersion(platform.python_version()) <= StrictVersion("3.10.0"):
print("pysystemtrade requires Python 3.10.0 or later. Exiting.", file=sys.stderr)
sys.exit(1)
Expand Down

0 comments on commit d4b3a82

Please sign in to comment.