Skip to content

Commit

Permalink
deploy: a8146a7
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Aug 3, 2023
1 parent aa1ce4f commit 89d69e9
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 38 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ be published on PyPI when you use [a standard build tool](link-to-build-page) to
your package.
```

### What is Anaconda Cloud and Conda?
### What is Anaconda Cloud and conda?

`Conda` is an open source package and environment management tool.
`Conda` can be used to install tools from the [Anaconda Cloud
conda is an open source package and environment management tool.
conda can be used to install tools from the [Anaconda Cloud
repository](https://repo.anaconda.com/).

Anaconda cloud (anaconda.org) contains public and private repositories for
Expand All @@ -57,24 +57,17 @@ The most common public channels are:
- bioconda

```{tip}
While **conda** was originally created to support Python packages, it
While conda was originally created to support Python packages, it
is now used across all languages. This cross-language support
makes it easier for some packages to include and have access to
tools written in other languages such as c/c++ (gdal), Julia, or R.
Creating environment that mixes all those packages are usually easier and more consistent with full fledged package managers like conda.
```

```{tip}
While **conda** was originally created to support Python packages, it
is now used across all languages. This cross-language support
makes it easier for some packages to include and have access to
tools written in other languages (such as gdal, BLAS/LAPACK and other tools).
```

### Conda channels
### conda channels

Conda built packages are housed within repositories that are called
channels. The Conda package manager can install packages from different channels.
conda built packages are housed within repositories that are called
channels. The conda package manager can install packages from different channels.

There are several core public channels that most people use to install
packages using conda including.
Expand All @@ -93,7 +86,7 @@ exist in the default Anaconda cloud channel.
ADD source: GeoHackWeek
:::

## Conda channels, PyPI, conda, pip - Where to publish your package
## conda channels, PyPI, conda, pip - Where to publish your package

You might be wondering why there are different package repositories
that can be used to install Python packages.
Expand Down Expand Up @@ -159,8 +152,6 @@ Generally those steps are:
1. Fork the staged recipes conda-forge GitHub repository
1. Create a new recipe using the `grayskull` tool. You can [learn more about grayskull here](https://conda.github.io/grayskull/).
1. Add the recipe file created by `grayskull` in a folder within the recipes/ directory of the [**conda-forge/staged-recipes**](https://github.com/conda-forge/staged-recipes) repository.
1. Create a new recipe using the `grayskull` tool
1. Add the recipe file created by `grayskull` in a folder within the recipes/ directory of the [**conda-forge/staged-recipes**](https://github.com/conda-forge/staged-recipes) repository.
1. Open a pull request with your change. Your package will be tested on Windows, Mac and Linux using the repository CI.

Once you have submitted a recipe to conda-forge, a maintainer will work
Expand Down
Binary file modified objects.inv
Binary file not shown.
31 changes: 11 additions & 20 deletions package-structure-code/publish-python-package-pypi-conda.html
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,9 @@ <h2>What is PyPI<a class="headerlink" href="#what-is-pypi" title="Permalink to t
</div>
</section>
<section id="what-is-anaconda-cloud-and-conda">
<h2>What is Anaconda Cloud and Conda?<a class="headerlink" href="#what-is-anaconda-cloud-and-conda" title="Permalink to this heading">#</a></h2>
<p><code class="docutils literal notranslate"><span class="pre">Conda</span></code> is an open source package and environment management tool.
<code class="docutils literal notranslate"><span class="pre">Conda</span></code> can be used to install tools from the <a class="reference external" href="https://repo.anaconda.com/">Anaconda Cloud
<h2>What is Anaconda Cloud and conda?<a class="headerlink" href="#what-is-anaconda-cloud-and-conda" title="Permalink to this heading">#</a></h2>
<p>conda is an open source package and environment management tool.
conda can be used to install tools from the <a class="reference external" href="https://repo.anaconda.com/">Anaconda Cloud
repository</a>.</p>
<p>Anaconda cloud (anaconda.org) contains public and private repositories for
packages. These repositories are known as channels (discussed below).</p>
Expand All @@ -584,24 +584,17 @@ <h2>What is Anaconda Cloud and Conda?<a class="headerlink" href="#what-is-anacon
</ul>
<div class="admonition tip">
<p class="admonition-title">Tip</p>
<p>While <strong>conda</strong> was originally created to support Python packages, it
<p>While conda was originally created to support Python packages, it
is now used across all languages. This cross-language support
makes it easier for some packages to include and have access to
tools written in other languages such as c/c++ (gdal), Julia, or R.
Creating environment that mixes all those packages are usually easier and more consistent with full fledged package managers like conda.</p>
</div>
<div class="admonition tip">
<p class="admonition-title">Tip</p>
<p>While <strong>conda</strong> was originally created to support Python packages, it
is now used across all languages. This cross-language support
makes it easier for some packages to include and have access to
tools written in other languages (such as gdal, BLAS/LAPACK and other tools).</p>
</div>
</section>
<section id="conda-channels">
<h2>Conda channels<a class="headerlink" href="#conda-channels" title="Permalink to this heading">#</a></h2>
<p>Conda built packages are housed within repositories that are called
channels. The Conda package manager can install packages from different channels.</p>
<h2>conda channels<a class="headerlink" href="#conda-channels" title="Permalink to this heading">#</a></h2>
<p>conda built packages are housed within repositories that are called
channels. The conda package manager can install packages from different channels.</p>
<p>There are several core public channels that most people use to install
packages using conda including.</p>
<ul class="simple">
Expand All @@ -619,7 +612,7 @@ <h2>Conda channels<a class="headerlink" href="#conda-channels" title="Permalink
</figure>
</section>
<section id="conda-channels-pypi-conda-pip-where-to-publish-your-package">
<h2>Conda channels, PyPI, conda, pip - Where to publish your package<a class="headerlink" href="#conda-channels-pypi-conda-pip-where-to-publish-your-package" title="Permalink to this heading">#</a></h2>
<h2>conda channels, PyPI, conda, pip - Where to publish your package<a class="headerlink" href="#conda-channels-pypi-conda-pip-where-to-publish-your-package" title="Permalink to this heading">#</a></h2>
<p>You might be wondering why there are different package repositories
that can be used to install Python packages.</p>
<p>And more importantly you are likely wondering how to pick the right
Expand Down Expand Up @@ -677,8 +670,6 @@ <h2>How to submit to conda-forge<a class="headerlink" href="#how-to-submit-to-co
<li><p>Fork the staged recipes conda-forge GitHub repository</p></li>
<li><p>Create a new recipe using the <code class="docutils literal notranslate"><span class="pre">grayskull</span></code> tool. You can <a class="reference external" href="https://conda.github.io/grayskull/">learn more about grayskull here</a>.</p></li>
<li><p>Add the recipe file created by <code class="docutils literal notranslate"><span class="pre">grayskull</span></code> in a folder within the recipes/ directory of the <a class="reference external" href="https://github.com/conda-forge/staged-recipes"><strong>conda-forge/staged-recipes</strong></a> repository.</p></li>
<li><p>Create a new recipe using the <code class="docutils literal notranslate"><span class="pre">grayskull</span></code> tool</p></li>
<li><p>Add the recipe file created by <code class="docutils literal notranslate"><span class="pre">grayskull</span></code> in a folder within the recipes/ directory of the <a class="reference external" href="https://github.com/conda-forge/staged-recipes"><strong>conda-forge/staged-recipes</strong></a> repository.</p></li>
<li><p>Open a pull request with your change. Your package will be tested on Windows, Mac and Linux using the repository CI.</p></li>
</ol>
<p>Once you have submitted a recipe to conda-forge, a maintainer will work
Expand Down Expand Up @@ -749,9 +740,9 @@ <h3>Maintaining your conda-forge package repository<a class="headerlink" href="#
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#what-is-pypi">What is PyPI</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#what-is-anaconda-cloud-and-conda">What is Anaconda Cloud and Conda?</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#conda-channels">Conda channels</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#conda-channels-pypi-conda-pip-where-to-publish-your-package">Conda channels, PyPI, conda, pip - Where to publish your package</a><ul class="nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#what-is-anaconda-cloud-and-conda">What is Anaconda Cloud and conda?</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#conda-channels">conda channels</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#conda-channels-pypi-conda-pip-where-to-publish-your-package">conda channels, PyPI, conda, pip - Where to publish your package</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#managing-python-package-dependency-conflicts">Managing Python package dependency conflicts</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#take-aways-if-you-can-publish-on-both-pypi-and-conda-forge-to-accommodate-more-users-of-your-package">Take-aways: If you can, publish on both PyPI and conda-forge to accommodate more users of your package</a></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 89d69e9

Please sign in to comment.