Skip to content

Remove duplicated instructions #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 8 additions & 17 deletions package-structure-code/publish-python-package-pypi-conda.md
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?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conda should always be lower and plain (not bold or italic) case according the a CEP. With that said, we don't need to follow that but it is nice for consistency.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh absolutely - thank you for this @ocefpaf !!


`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