Skip to content

Commit a21caf5

Browse files
author
Anze
committed
Add missing dependencies and export them to requirements.txt during build process
1 parent 107105e commit a21caf5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ deploy to pypi:
1010
variables:
1111
- $CI_COMMIT_TAG =~ /^v[0-9]+[.][0-9]+[.][0-9]+([.][^.]+)?$/
1212
before_script:
13-
- pip install --no-cache-dir twine
13+
- pip install --no-cache-dir twine pipenv
1414
script:
1515
- sed -i "s/@@VERSION@@/$CI_COMMIT_TAG/g" ./setup.py
16+
- pipenv lock -r > requirements.txt
1617
- python setup.py sdist
1718
- python setup.py bdist_wheel
1819
- twine upload -r pypi -u __token__ -p "${PYPI_TOKEN}" dist/*

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pylint = "*"
99
[packages]
1010
requests = "*"
1111
apscheduler = "*"
12+
pytz = "*"
1213

1314
[requires]
1415
python_version = "3.6"

Pipfile.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)