Cross platform (“Noarch”) package support in Anaconda repository (AER 2.32)

As of Anaconda repository version 2.6.0, your Anaconda repository instance can support conda ‘noarch’ packages.

NOTE: Noarch packages are not compatible with Anaconda constructor. If you intend to use the packages with Anaconda constructor, build the packages for specific operating systems.

What Are Noarch packages?

The conda build system allows you to specify “no architecture” when building a package, thus making it compatible with all platforms and architectures. Noarch packages from your Anaconda repository instance can be downloaded and installed on any platform.

How to Build Noarch packages

To specify a noarch build, use the noarch key in the ‘build’ section of your conda recipe’s meta.yaml file:

build:
        noarch: generic

See the conda documentation for full information on noarch packages.

Additional examples can be found in the conda-recipes repository on github.

Uploading Noarch packages

Noarch packages can be uploaded to Anaconda repository in the same manner as any other package:

anaconda upload babel

Noarch packages are identified on Anaconda repository by a cross-platform icon:

../../../_images/anaconda-repository/2.32/noarch_example.png