Here is an example of a bash shell script that uses the policybrain-builder CLI, pb (release 0.1.0), to build and upload conda taxcalc packages for Python 3.6 for a specified Tax-Calculator release (0.21.0 or later).
Before executing this bash script be sure that the conda-build package is installed. If it is not installed, then execute this command: conda install conda-build.
And also be sure you have executed python setup.py install in the top directory of the policybrain-builder directory tree, as described in the README.md file.
Here are the contents of the bash shell script, which is called release-taxcalc-packages.sh:
policybrain-builder$ pb --version
pb, version 0.1.0
The Package-Builder FAQ in issue #86 is now obsolete, and so, is being deleted. In the next few days there will be a new README.md file that documents how to use the new pbrelease CLI to Package-Builder.
Here is an example of a bash shell script that uses the policybrain-builder CLI,
pb
(release 0.1.0), to build and upload condataxcalc
packages for Python 3.6 for a specified Tax-Calculator release (0.21.0 or later).Before executing this bash script be sure that the conda-build package is installed. If it is not installed, then execute this command:
conda install conda-build
. And also be sure you have executedpython setup.py install
in the top directory of thepolicybrain-builder
directory tree, as described in the README.md file.Here are the contents of the bash shell script, which is called
release-taxcalc-packages.sh
:policybrain-builder$ pb --version pb, version 0.1.0
policybrain-builder$ cat release-taxcalc-packages.sh
Here's a recent use example:
Note that this script builds four packages: four platforms (osx-64, linux-64, win-32, win-64) and one Python version (3.6).
And finally, here is what things look like on www.anaconda.org after the bash script finishes execution: