./dev.sh automates common development tasks. Feel free to add new ones! Change NAME and USER at the top of ./dev.sh before use. GPLv3 License included (./LICENSE), keep or change for your project.
External dependencies:
A quick sample:
./dev.sh -bcto build conda package./dev.sh -bdto build docker container./dev.sh -bdto run source- other scripts include uploading to anaconda, running
./srclocally, and testing containers
./dev.sh -idev
Creates a new conda environement using the base.yml and dev.yml files at ./envs
./dev.sh -r
Runs the python package at ./src/* directly
Requires the development environment and anaconda.org account if uploading. Add dependencies under ./envs/base.yml.
- bump the version at
./src/<PACKAGE>/version.txt - build pip package
./dev.sh -bp - build conda package using the pip package
./dev.sh -bc - upload to your channel
./dev.sh -uc
- configure
./Dockerfile - build container
./dev.sh -bd - upload to quay.io
./dev.sh -ud - build singularity from docker
./dev.sh -bs(not dependent on upload)