Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Requirements.in #11

Merged
1 commit merged into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,18 @@ The only code that should be used directly by users is the `libcoveocds.config`

Other code ( Code in `libcore`, `lib`, etc)
should not be used by external users of this library directly, as the structure and use of these may change more frequently.


## Updating dependencies

This is a bit messy; because we use two of our own packages and one of them isn't currently in pypi. Sorry.

* Update setup.py with any requirements this library needs, and update requirements.in if needed.
* Perform the usual steps to generate the txt files
* Go to the txt files and ...
* remove the line that starts "-e git+git@github.com:open-contracting/lib-cove-ocds.git". (This ends up here because of `-e .`, but we need that so the requirements in setup.py are installed.)
* remove the two error lines at the top that start "Skipping line in requirement file" and " (add #egg=PackageName to the URL to avoid this warning)"




3 changes: 3 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-e git+https://github.com/OpenDataServices/flatten-tool.git@v0.5.0#egg=flattentool
-e git+https://github.com/OpenDataServices/lib-cove.git@v0.1.0#egg=libcore
-e .
33 changes: 30 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
-e git+https://github.com/OpenDataServices/flatten-tool.git@v0.5.0#egg=flattentool
-e git+https://github.com/OpenDataServices/lib-cove.git@v0.1.0#egg=libcore
-e .
-e git+https://github.com/OpenDataServices/flatten-tool.git@4c13ef0b32a59e810919a3de09bc8f64ce8f9392#egg=flattentool
Skipping line in requirement file [requirements.in] because it's not clear what it would install: .
(add #egg=PackageName to the URL to avoid this warning)
## The following requirements were added by pip freeze:
attrs==19.1.0
bleach==3.1.0
cached-property==1.5.1
certifi==2018.11.29
chardet==3.0.4
commonmark==0.8.1
contextlib2==0.5.5
Django==2.1.7
et-xmlfile==1.0.1
future==0.17.1
idna==2.8
jdcal==1.4
json-merge-patch==0.2
jsonref==0.2
jsonschema==3.0.1
-e git+https://github.com/OpenDataServices/lib-cove.git@7c8d2ff0bbb8d9c0f2a124eacfa2058b0eee3a9a#egg=libcove
lxml==4.3.2
openpyxl==2.6.1
pyrsistent==0.14.11
pytz==2018.9
requests==2.21.0
schema==0.7.0
six==1.12.0
urllib3==1.24.1
webencodings==0.5.1
xmltodict==0.12.0
3 changes: 3 additions & 0 deletions requirements_dev.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-r requirements.in
pytest
flake8
44 changes: 39 additions & 5 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
-e git+https://github.com/OpenDataServices/flatten-tool.git@v0.5.0#egg=flattentool
-e git+https://github.com/OpenDataServices/lib-cove.git@v0.1.0#egg=libcore
-e .
pytest
flake8
pytest==4.3.0
flake8==3.7.7
## The following requirements were added by pip freeze:
atomicwrites==1.3.0
attrs==19.1.0
bleach==3.1.0
cached-property==1.5.1
certifi==2018.11.29
chardet==3.0.4
commonmark==0.8.1
contextlib2==0.5.5
Django==2.1.7
entrypoints==0.3
et-xmlfile==1.0.1
-e git+https://github.com/OpenDataServices/flatten-tool.git@4c13ef0b32a59e810919a3de09bc8f64ce8f9392#egg=flattentool
future==0.17.1
idna==2.8
jdcal==1.4
json-merge-patch==0.2
jsonref==0.2
jsonschema==3.0.1
-e git+https://github.com/OpenDataServices/lib-cove.git@7c8d2ff0bbb8d9c0f2a124eacfa2058b0eee3a9a#egg=libcove
lxml==4.3.2
mccabe==0.6.1
more-itertools==6.0.0
openpyxl==2.6.1
pathlib2==2.3.3
pluggy==0.9.0
py==1.8.0
pycodestyle==2.5.0
pyflakes==2.1.1
pyrsistent==0.14.11
pytz==2018.9
requests==2.21.0
schema==0.7.0
six==1.12.0
urllib3==1.24.1
webencodings==0.5.1
xmltodict==0.12.0