Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
87dcdb9f
Commit
87dcdb9f
authored
Apr 25, 2018
by
J. Fernando Sánchez
Browse files
Refactor requirements
parent
67ef4b60
Changes
3
Show whitespace changes
Inline
Side-by-side
Dockerfile.template
View file @
87dcdb9f
...
...
@@ -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"]
extra-requirements.txt
0 → 100644
View file @
87dcdb9f
gsitk
setup.py
View file @
87dcdb9f
...
...
@@ -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
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment