Add Dockerfile for creating sdists
This commit is contained in:
parent
a5d47c8dbd
commit
c1c04ec4ef
2 changed files with 46 additions and 1 deletions
|
|
@ -19,6 +19,9 @@
|
|||
# Creates a virtual environment and installs local Python modules in editable
|
||||
# mode (-e).
|
||||
#
|
||||
# Development dependencies (linters, etc.) will be installed if 'develop' is
|
||||
# given as an argument.
|
||||
#
|
||||
set -eo pipefail
|
||||
|
||||
# Directory of *this* script
|
||||
|
|
@ -56,7 +59,7 @@ popd 2>/dev/null
|
|||
|
||||
pip3 ${PIP_INSTALL} -e "${this_dir}/mimic3-http"
|
||||
|
||||
if [ -f "${this_dir}/requirements_dev.txt" ]; then
|
||||
if [ "$1" = 'develop' ]; then
|
||||
pip3 ${PIP_INSTALL} -r "${this_dir}/requirements_dev.txt"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue