1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-22 04:58:12 +00:00

Refactor requirements

This commit is contained in:
J. Fernando Sánchez 2018-04-25 09:35:36 +02:00
parent 67ef4b60bd
commit 87dcdb9fbc
3 changed files with 5 additions and 5 deletions

View File

@ -21,8 +21,8 @@ ONBUILD WORKDIR /senpy-plugins/
WORKDIR /usr/src/app
COPY test-requirements.txt requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r test-requirements.txt -r requirements.txt
RUN pip install --no-cache-dir -r test-requirements.txt -r requirements.txt -r extra-requirements.txt
COPY . /usr/src/app/
RUN pip install --no-cache-dir --editable '/usr/src/app[evaluation]'
RUN pip install --no-cache-dir --no-index --no-deps --editable .
ENTRYPOINT ["python", "-m", "senpy", "-f", "/senpy-plugins/", "--host", "0.0.0.0"]

1
extra-requirements.txt Normal file
View File

@ -0,0 +1 @@
gsitk

View File

@ -14,6 +14,7 @@ def parse_requirements(filename):
install_reqs = parse_requirements("requirements.txt")
test_reqs = parse_requirements("test-requirements.txt")
extra_reqs = parse_requirements("extra-requirements.txt")
setup(
@ -34,9 +35,7 @@ setup(
tests_require=test_reqs,
setup_requires=['pytest-runner', ],
extras_require={
'evaluation': [
'gsitk'
]
'evaluation': extra_reqs
},
include_package_data=True,
entry_points={