===========================================================================
Cross platform ("Noarch") package support in Anaconda repository (AER 2.28)
===========================================================================

.. raw:: html

    <p>As of Anaconda repository version 2.6.0, your Anaconda repository instance can support conda &#8216;noarch&#8217; packages.</p>
    <p>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.</p>
    <div class="section" id="what-are-noarch-packages">
    <h2>What Are Noarch packages?<a class="headerlink" href="#what-are-noarch-packages" title="Permalink to this headline">¶</a></h2>
    <p>The conda build system allows you to specify &#8220;no architecture&#8221; 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.</p>
    </div>
    <div class="section" id="how-to-build-noarch-packages">
    <h2>How to Build Noarch packages<a class="headerlink" href="#how-to-build-noarch-packages" title="Permalink to this headline">¶</a></h2>
    <p>To specify a noarch build, simply add the following to the &#8216;build&#8217; section of your conda recipe&#8217;s meta.yaml file:</p>
    <div class="highlight-python"><div class="highlight"><pre><span></span>build:
            noarch_python: True
    </pre></div>
    </div>
    <p>Additional examples can be found in the <a class="reference external" href="https://github.com/conda/conda-recipes">conda-recipes</a> repository on github.</p>
    </div>
    <div class="section" id="uploading-noarch-packages">
    <h2>Uploading Noarch packages<a class="headerlink" href="#uploading-noarch-packages" title="Permalink to this headline">¶</a></h2>
    <p>Noarch packages can be uploaded to Anaconda repository in the same manner as any other package:</p>
    <div class="highlight-python"><div class="highlight"><pre><span></span>anaconda upload babel
    </pre></div>
    </div>
    <p>Noarch packages are identified on Anaconda repository by a cross-platform icon:</p>
    <a class="reference internal image-reference" href="../../../_images/anaconda-repository/2.28/noarch_example.png"><img alt="../../../_images/anaconda-repository/2.28/noarch_example.png" src="../../../_images/anaconda-repository/2.28/noarch_example.png" style="height: 377px;" /></a>
    </div>
