Add Dockerfile for creating sdists

This commit is contained in:
Michael Hansen 2022-04-21 17:08:23 -04:00
commit c1c04ec4ef
2 changed files with 46 additions and 1 deletions

View file

@ -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