Commit 87b1d54b authored by Christophe Benz's avatar Christophe Benz
Browse files

Replace "extra require" by requirements files

parent 767d48d7
......@@ -9,7 +9,9 @@ Run tests:
stage: test
image: python:3.7-slim-stretch
before_script:
- pip install --editable .[test]
- pip install -r requirements.txt
- pip install -r requirements-test.txt
- pip install --editable .
script:
- pytest
......
......@@ -27,7 +27,9 @@ To work on dbnomics-python-client source code:
```bash
git clone https://git.nomics.world/dbnomics/dbnomics-python-client.git
cd dbnomics-python-client
pip install --editable .
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
```
If you plan to use a local Web API, running on the port 5000, you'll need to use the `api_base_url` parameter of the `fetch_*` functions, like this:
......@@ -62,7 +64,9 @@ Run tests:
```bash
# Only once
pip install -e .[test]
pip install -r requirements.txt
pip install -r requirements-test.txt
pip install -e .
pytest
......
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile requirements-dev.in
#
appdirs==1.4.4
# via black
black==20.8b1
# via -r requirements-dev.in
click==7.1.2
# via black
flake8==3.9.0
# via -r requirements-dev.in
mccabe==0.6.1
# via flake8
mypy-extensions==0.4.3
# via black
pathspec==0.8.1
# via black
pycodestyle==2.7.0
# via flake8
pyflakes==2.3.1
# via flake8
regex==2021.3.17
# via black
toml==0.10.2
# via black
typed-ast==1.4.2
# via black
typing-extensions==3.7.4.3
# via black
pytest
pytest-vcr
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile requirements-test.in
#
attrs==20.3.0
# via pytest
idna==3.1
# via yarl
iniconfig==1.1.1
# via pytest
multidict==5.1.0
# via yarl
packaging==20.9
# via pytest
pluggy==0.13.1
# via pytest
py==1.10.0
# via pytest
pyparsing==2.4.7
# via packaging
pytest-vcr==1.0.2
# via -r requirements-test.in
pytest==6.2.2
# via
# -r requirements-test.in
# pytest-vcr
pyyaml==5.4.1
# via vcrpy
six==1.15.0
# via vcrpy
toml==0.10.2
# via pytest
vcrpy==4.1.1
# via pytest-vcr
wrapt==1.12.1
# via vcrpy
yarl==1.6.3
# via vcrpy
......@@ -80,13 +80,6 @@ setup(
'pandas >= 0.21',
],
extras_require={
'test': [
'pytest',
'pytest-vcr'
]
},
setup_requires=[
'pytest-runner',
],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment