| |
@@ -21,9 +21,7 @@
|
| |
httpd \
|
| |
graphviz \
|
| |
fedora-messaging \
|
| |
- {% if env == 'staging' %}
|
| |
npm \
|
| |
- {% endif %}
|
| |
poetry \
|
| |
python3-alembic \
|
| |
python3-beautifulsoup4 \
|
| |
@@ -70,16 +68,10 @@
|
| |
popd && \
|
| |
# Uninstall the existing anitya installation first
|
| |
pip-3 uninstall -y anitya && \
|
| |
- {% if env == 'staging' %}
|
| |
# Install javascript dependencies
|
| |
pushd anitya/static && \
|
| |
npm install && \
|
| |
popd && \
|
| |
- {% else %}
|
| |
- # Move bootstrap to correct folder
|
| |
- rm -f anitya/static/bootstrap && \
|
| |
- mv anitya/static/bootstrap-3.3.4-fedora anitya/static/bootstrap && \
|
| |
- {% endif %}
|
| |
poetry build && \
|
| |
pip-3 install dist/*.whl && \
|
| |
popd && \
|
| |
With release of Anitya 1.7.0 the special cases for production are no longer
needed. Let's remove them.
Signed-off-by: Michal Konečný mkonecny@redhat.com