Skip to content

Commit

Permalink
installation: setup.py for REANA-Commons
Browse files Browse the repository at this point in the history
* Uses only `setup.py` to install REANA-Commons dependency and introduces upper
  boundary for its version. (addresses reanahub/reana#80)

* Removes installation of its `master` versions from `Dockerfile`.
  (closes #35)

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
  • Loading branch information
tiborsimko committed Sep 4, 2018
1 parent fc8205c commit ba3bb13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt update && \

COPY CHANGES.rst README.rst setup.py /code/
COPY reana_workflow_engine_serial/version.py /code/reana_workflow_engine_serial/
RUN pip install -e git://github.com/reanahub/reana-commons.git@master#egg=reana-commons

WORKDIR /code
RUN pip install --no-cache-dir requirements-builder && \
requirements-builder -e all -l pypi setup.py | pip install --no-cache-dir -r /dev/stdin && \
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
'bravado>=9.0.6',
'celery>=4.1.0',
'pika>=0.11.2',
'reana-commons>=0.3.0'
'reana-commons>=0.3.1,<0.4'
]

packages = find_packages()
Expand Down

0 comments on commit ba3bb13

Please sign in to comment.