Skip to content

Commit

Permalink
Add missing dependencies and export them to requirements.txt during b…
Browse files Browse the repository at this point in the history
…uild process
  • Loading branch information
Anze committed Nov 4, 2019
1 parent 107105e commit a21caf5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ deploy to pypi:
variables:
- $CI_COMMIT_TAG =~ /^v[0-9]+[.][0-9]+[.][0-9]+([.][^.]+)?$/
before_script:
- pip install --no-cache-dir twine
- pip install --no-cache-dir twine pipenv
script:
- sed -i "s/@@VERSION@@/$CI_COMMIT_TAG/g" ./setup.py
- pipenv lock -r > requirements.txt
- python setup.py sdist
- python setup.py bdist_wheel
- twine upload -r pypi -u __token__ -p "${PYPI_TOKEN}" dist/*
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pylint = "*"
[packages]
requests = "*"
apscheduler = "*"
pytz = "*"

[requires]
python_version = "3.6"
3 changes: 2 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a21caf5

Please sign in to comment.