tool to build and publish python packages easily
1.6K
Builds a python package and publishes it to pypi.
docker run --rm --env PYPI_USER=$PYPI_USER --env PYPI_PASSWORD=$PYPI_PASSWORD -v /home/amazy/python-osimis-timer:/project osimis/python-packager osimis_timer
#!/bin/bash
set -e
set -x
# start from the right place
cd "${REPOSITORY_PATH:-$(git rev-parse --show-toplevel)}"/
branchName=${1:-$(git rev-parse --abbrev-ref HEAD)}
containerId=$(docker create --env PYPI_USER=$PYPI_USER --env PYPI_PASSWORD=$PYPI_PASSWORD osimis/python-packager:0.1.0 osimis_timer $branchName)
docker cp $(pwd)/. $containerId:/project
docker start -a $containerId
docker rm $containerId
Content type
Image
Digest
Size
286.2 MB
Last updated
almost 6 years ago
docker pull osimis/python-packager