Skip to content

Commit

Permalink
#3 twine and setuptools moved to project level requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim55667757 committed Jul 23, 2022
1 parent 88521cd commit 24fb00b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ jobs:
install:
- echo "---> Running PRE-BUILDING stage..."
- python -m pip install --upgrade pip --force-reinstall
- pip install setuptools==59.5.0
- pip install twine==4.0.1
- pip install -r requirements.txt
before_script:
- export PYTHONPATH=$PYTHONPATH:$PWD:$PWD/tksbrokerapi:$PWD/tests
- env
script:
- echo "---> Running TESTING stage..."
- pytest tests -v --disable-pytest-warnings
Expand All @@ -33,4 +30,4 @@ jobs:
after_failure:
- echo "Some issues occurred. See full logs."
after_success:
- echo "All stages PRE-BUILDING -> TESTING -> BUILDING -> PUBLISHING to PyPI done"
- echo "All stages PRE-BUILDING -> TESTING -> BUILDING -> PUBLISHING to PyPI - done"
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# The order of packages is significant, because pip processes them in the order of appearance.
# Changing the order has an impact on the overall integration process, which may cause troubles later.

# Build requirements:
pytest>=7.1.2
setuptools==59.5.0
twine==4.0.1

# Packet TKSBrokerAPI requirements:
requests>=2.25.1 # Apache-2.0 license
pandas>=1.2.2
python-dateutil>=2.8.1 # Apache-2.0 license
Expand Down

0 comments on commit 24fb00b

Please # to comment.