cagtayfabry/pydeps2env

create conda environment file from python project dependencies

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
filesSpecify 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').yespyproject.toml
outputSpecify the location and name of the conda environment file to generate. (defaults to 'environment.yml')yesenvironment.yml
channelsList 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').yesconda-forge
extrasSpecify 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_requirementsAdditional requirement specifications to include in the environment.no
build_systemif 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)noomit
pipList 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

no outputs