Mercurial > kallithea
comparison Jenkinsfile @ 7841:d9e37f7fd35b
docs: always use dev_requirements.txt together with main version constraints in setup.py
pip isn't good at considering old constraints when installing or updating
packages later. Instead, install everything at once.
Note: pip and setuptools are usually installed automatically and could perhaps
be removed from documentation. But for now, let's keep it.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 12 Aug 2019 12:54:01 +0200 |
parents | 58713c2ebfff |
children | 89e9aef9b983 |
comparison
equal
deleted
inserted
replaced
7840:62822054a1e2 | 7841:d9e37f7fd35b |
---|---|
42 bat virtualenvscript | 42 bat virtualenvscript |
43 } | 43 } |
44 } | 44 } |
45 stage('setup') { | 45 stage('setup') { |
46 def virtualenvscript = """$activatevirtualenv | 46 def virtualenvscript = """$activatevirtualenv |
47 pip install --upgrade -e . | 47 pip install --upgrade -e . -r dev_requirements.txt |
48 pip install -r dev_requirements.txt | |
49 python setup.py compile_catalog | 48 python setup.py compile_catalog |
50 """ | 49 """ |
51 if (isUnix()) { | 50 if (isUnix()) { |
52 sh virtualenvscript | 51 sh virtualenvscript |
53 } else { | 52 } else { |