Ignore:
Timestamp:
Apr 6, 2020, 6:09:19 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
5ec7c42
Parents:
cdd6542
Message:

Improved tox configuration for gnuboat_mapservice, so that gnuboat_common is installed from this repository

Location:
src/mapservice/codegen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice/codegen/code_generator

    rcdd6542 r8f3d1dd  
    77TARGET="${SRC_GEN}/${PACKAGE_NAME}/"
    88CELERY_WORKER_SCRIPT="${SRC_GEN}/celery_worker"
     9TOX_INSTALL_COMMAND="${SRC_GEN}/tox_install_command"
    910
    1011echo "Cleaning directory"
    … …  
    5354chmod +x "${CELERY_WORKER_SCRIPT}"
    5455
     56echo "#!/bin/bash" > "${TOX_INSTALL_COMMAND}"
     57echo 'pip install --editable=file:///`pwd`/../../common' >> "${TOX_INSTALL_COMMAND}"
     58echo 'pip install $@' >> "${TOX_INSTALL_COMMAND}"
     59chmod 0755 "${TOX_INSTALL_COMMAND}"
     60
    5561########
    5662#
  • src/mapservice/codegen/templates/tox.mustache

    rcdd6542 r8f3d1dd  
    66     -r{toxinidir}/test-requirements.txt
    77
     8install_command = {toxinidir}/tox_install_command {opts} {packages}
     9
    810commands=
    911   nosetests \
Note: See TracChangeset for help on using the changeset viewer.