Command Line¶
Grayskull - Conda recipe generator
usage: grayskull [-h] [--version] {cran,pypi} ...
Named Arguments¶
- --version, -v
Print Grayskull version and exit
Default:
False
Sub-commands¶
cran¶
Options to generate CRAN recipes
grayskull cran [-h] [--stdout STDOUT] [--list-missing-deps] [--download]
[--maintainers MAINTAINERS [MAINTAINERS ...]] [--output OUTPUT]
[--strict-conda-forge]
[--sections {package,source,build,requirements,test,about,extra} [{package,source,build,requirements,test,about,extra} ...]]
[--use-v1-format]
cran_packages [cran_packages ...]
Positional Arguments¶
- cran_packages
Specify the CRAN packages name.
Default:
[]
Named Arguments¶
- --stdout
Disable or enable stdout, if it is False, Grayskull will disable the prints. Default is True
Default:
True
- --list-missing-deps
After the execution Grayskull will print all the missing dependencies.
Default:
False
- --download, -d
Download the sdist package and PyPI information in the same folder the recipe is located.
Default:
False
- --maintainers, -m
List of maintainers which will be added to the recipe.
- --output, -o
Path to where the recipe will be created
Default:
'.'
- --strict-conda-forge
It will generate the recipes strict for the conda-forge channel.
Default:
False
- --sections, -s
Possible choices: package, source, build, requirements, test, about, extra
If sections are specified, grayskull will populate just the sections informed.
- --use-v1-format, -u
Returns a recipe file in the V1 format, used by rattler-build. NOTE: This is experimental.
Default:
False
pypi¶
Options to generate PyPI recipes
grayskull pypi [-h] [--download] [--maintainers MAINTAINERS [MAINTAINERS ...]]
[--output OUTPUT] [--stdout STDOUT] [--list-missing-deps]
[--strict-conda-forge] [--pypi-metadata-url URL_PYPI_METADATA]
[--pypi-mirror-url URL_PYPI_MIRROR]
[--pypi-url URL_PYPI_METADATA_DEPRECATED] [--recursive]
[--sections {package,source,build,requirements,test,about,extra} [{package,source,build,requirements,test,about,extra} ...]]
[--extras-require-test EXTRAS_REQUIRE_TEST]
[--tag GITHUB_RELEASE_TAG] [--extras-require-all]
[--extras-require-include [EXTRAS_REQUIRE_INCLUDE ...]]
[--extras-require-exclude [EXTRAS_REQUIRE_EXCLUDE ...]]
[--extras-require-split]
[--licence-exclude-folders [LICENCE_EXCLUDE_FOLDERS ...]]
[--use-v1-format]
pypi_packages [pypi_packages ...]
Positional Arguments¶
- pypi_packages
Specify the PyPI packages name. Grayskull can also accept a github url.
Default:
[]
Named Arguments¶
- --download, -d
Download the sdist package and PyPI information in the same folder the recipe is located.
Default:
False
- --maintainers, -m
List of maintainers which will be added to the recipe.
- --output, -o
Path to where the recipe will be created
Default:
'.'
- --stdout
Disable or enable stdout, if it is False, Grayskull will disable the prints. Default is True
Default:
True
- --list-missing-deps
After the execution Grayskull will print all the missing dependencies.
Default:
False
- --strict-conda-forge
It will generate the recipes strict for the conda-forge channel.
Default:
False
- --pypi-metadata-url
Pypi url server metadata endpoint;will be appended with ‘{pkgname}/json’
Default:
'https://pypi.org/pypi'
- --pypi-mirror-url
Pypi mirror URL; assumed to have same API as pypi.org
Default:
'https://pypi.org'
- --pypi-url
DEPRECATED: use –pypi-metadata-url instead
- --recursive, -r
Recursively run grayskull on missing dependencies.
Default:
False
- --sections, -s
Possible choices: package, source, build, requirements, test, about, extra
If sections are specified, grayskull will populate just the sections informed.
- --extras-require-test
Extra requirements to run tests.
- --tag, -t
If tag is specified, grayskull will build from release tag
- --extras-require-all
Include all extra requirements.
Default:
False
- --extras-require-include
Include these extra requirements.
Default:
()
- --extras-require-exclude
Exclude these extra requirements (overrides include).
Default:
()
- --extras-require-split
Create a separate conda package for each extra requirements. Ignored when no extra requirements are selected.
Default:
False
- --licence-exclude-folders
Exclude folders when searching for licence.
Default:
()
- --use-v1-format, -u
Returns a recipe file in the V1 format, used by rattler-build. NOTE: This is experimental.
Default:
False