Skip to content
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

doc: shorten grayskull usage by one step #2222

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 2 additions & 4 deletions docs/maintainer/adding_pkgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ There are, currently, three ways to generate a recipe:

Installation and usage of `grayskull`:

- Create a new environment using : `conda create --name MY_ENV`. Replace `MY_ENV` with the environment name.
- Activate this new environment : `conda activate MY_ENV`.
- Run `conda install -c conda-forge grayskull` to install `grayskull`.
- Followed by `grayskull pypi --strict-conda-forge YOUR_PACKAGE_NAME` to generate the recipe. Replace `YOUR_PACKAGE_NAME` with the package name.
- Create a new environment named e.g. "grayskull" with grayskull installed : `conda create --name grayskull -c conda-forge grayskull`
Copy link
Member

Choose a reason for hiding this comment

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

Please use a different name for the env. grayskull_env or similar to avoid confusion.

- Run the grayskull command in the newly created environment through `conda run --no-capture-output -n grayskull grayskull pypi --strict-conda-forge YOUR_PACKAGE_NAME` to generate the recipe. Replace `YOUR_PACKAGE_NAME` with the package name. The package will be in the folder `YOUR_PACKAGE_NAME` in the working directory.

:::

Expand Down
Loading