cagtayfabry/pydeps2env
create conda environment file from python project dependencies
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Specify the location of the dependencies files to parse. (defaults to 'pyproject.toml') Separate a list of multiple source files by spaces (e.g. 'pyproject.toml[test] requirements.txt'). | yes | pyproject.toml |
| output | Specify the location and name of the conda environment file to generate. (defaults to 'environment.yml') | yes | environment.yml |
| channels | List the conda channels to include in the environment file. (defaults to 'conda-forge') Separate a list of multiple channels by spaces (e.g. 'conda-forge defaults'). | yes | conda-forge |
| extras | Specify one or more optional [extras_require] sections to add to all source files (s.a.). (e.g. 'test' to include package that you would normally install with 'pip install pkg[test]'). Note that for individual sources in 'files', the '[extra]' syntax is also possible. | no | — |
| additional_requirements | Additional requirement specifications to include in the environment. | no | — |
| build_system | if set to 'include' the dependencies listed under [build-system] (for 'pyproject.toml') or [options]:setup_requires (for 'setup.cfg') will be added to the environment (default is 'omit' so no build system dependencies will be installed) | no | omit |
| pip | List of packages to install via pip instead of conda. The dependencies will be listet under the pip section in the environment file. If a dependency is listed with its URN, it will always be installed via pip (e.g. 'pydeps2env @ git+https://github.com/CagtayFabry/pydeps2env') | no | — |
Outputs
no outputs