• Edward Z. Yang's avatar
    Rewrite our packaging from scratch (#217) · cd185d1f
    Edward Z. Yang authored
    * New entry points are packaging/build_wheel.sh and packaging/build_conda.sh. The only mandatory environment variable you have to set is PYTHON_VERSION
    * CircleCI configuration uses 2.1-style parametrized builds to let you toggle python version, etc. as you do builds. We create a separate job per build configuration for maximum parallelism
    * build_tools/packaging got moved to packaging, to be in-line with directory structure in torchvision
    * The build_conda.sh and build_wheel.sh delegate most of the heavy lifting to pkg_helpers.bash, which defines a number of bash functions for performing common operations. The intent is that I'll copy-paste this file between other domain API projects.
    * TORCHAUDIO_ prefix removed from envvars, so that I can more easily share packaging scripts between projects
    * BUILD_VERSION is completely gone; just change the version number if you need to rebuild
    * No more logic for cloning and checking out a fresh copy of torchaudio
    cd185d1f
setup.py 3.92 KB