-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing the way the application is deployed. Introducing pipenv.
- Loading branch information
1 parent
5bde177
commit 58f8c1a
Showing
7 changed files
with
193 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
from json import loads as json_loads | ||
|
||
assert os.path.isfile('Pipfile.lock') | ||
|
||
requirements = "" | ||
|
||
with open('./Pipfile.lock', 'rb') as f: | ||
piplock = f.read() | ||
|
||
for package_name, details in json_loads(piplock)['default'].items(): | ||
requirements += package_name + details['version'] + "\n" | ||
|
||
with open('./requirements.txt', 'wb') as f: | ||
f.write(requirements.encode('utf-8')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
tornado>=5<7 | ||
setuptools | ||
unittest-data-provider | ||
coverage | ||
mock | ||
whois>=0.7<2 | ||
pytz>=2019.1 | ||
ovh>=0.5.0 | ||
ovh==0.5.0 | ||
python-dateutil==2.8.0 | ||
pytz==2019.3 | ||
six==1.12.0 | ||
tornado==6.0.3 | ||
whois==0.9.4 |