dev
for development, test
for testing, or rc
for release candidates.
main
. If you don’t specify a label when uploading, your package automatically gets the main
label. However, you can use other labels such as dev
, test
, or any-custom-label
to effectively “hide” a package or package version from conda’s default search and install behavior. Users can still access the labeled package on Anaconda.org but must explicitly specify the label to find and install the package with conda.
/labels
(plural) while conda commands use /label
(singular).travis
:
Web Interface | Conda Command | What it contains |
---|---|---|
anaconda.org/travis | conda install --channel travis <PACKAGE> | Default packages (main label only) |
anaconda.org/travis/labels/main | conda install --channel travis/label/main <PACKAGE> | Explicitly accessing main label |
anaconda.org/travis/labels/dev | conda install --channel travis/label/dev <PACKAGE> | Development packages |
anaconda.org/travis/labels/test | conda install --channel travis/label/test <PACKAGE> | Testing packages |
test
label, which allows you to upload files without affecting your production-quality packages, then how to apply the main
label to make it visible to conda.
meta.yaml
file by running the following command:
2.0
. To save and close the meta.yaml
file, press Ctrl+X, followed by Y.
conda build
command:
--output
option:--label
option followed by your label (in this case, test
), which tells Anaconda.org to make the upload visible only to users who specify that label:
main
, you do not see the 2.0
version of the test package. This is because you need to tell conda to look for your new test
label.
--override
argument, which tells conda not to use any channels in your ~/.condarc
file. Without specifying the label and package name, the 2.0
version is not discoverable:
2.0
can be found:
<USERNAME>/label/test
to your testers, where <USERNAME>
is your username.
test
packages back to your main
label:
https://anaconda.org/USERNAME/conda-package
, where <USERNAME>
is your username.
Your version 2.0
is now in main
:
anaconda-client
1.7 or higher, you can use anaconda move
to move packages from one label to another: