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

.. raw:: html

    <p>As of Anaconda repository version 2.6.0, your Anaconda repository instance can support conda &#8216;noarch&#8217; packages.</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-default"><div class="highlight"><pre><span></span><span class="n">build</span><span class="p">:</span>
            <span class="n">noarch_python</span><span class="p">:</span> <span class="kc">True</span>
    </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-default"><div class="highlight"><pre><span></span><span class="n">anaconda</span> <span class="n">upload</span> <span class="n">babel</span>
    </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/noarch_example.png"><img alt="../../_images/noarch_example.png" src="../../_images/noarch_example.png" style="height: 377px;" /></a>
    </div>
