flâneur — a map of the web's best reading

Managing environments | Documentation | Poetry - Python dependency management and packaging made easy

python-poetry.org · 869 words · saved by 1 readers

This chapter will tell you how to make your library installable through Poetry. Versioning Poetry requires PEP 440-compliant versions for all projects. While Poetry does not enforce any release convention, it used to encourage the use of semantic versioning within the scope of PEP 440 and supports version constraints that are especially suitable for semver. Note As an example, 1.0.0-hotfix.1 is not compatible with PEP 440. Commands You’ve already learned how to use the command-line interface to do some things. Configuration Poetry can be configured via the config command (see more about its usage here) or directly in the config.toml file that will be automatically created when you first run that command. Repositories Poetry supports the use of PyPI and private repositories for discovery of packages as well as for publishing your projects. By default, Poetry is configured to use the PyPI repository, for package installation and publishing. So, when you add dependencies to your pro

Managing environments | Documentation | Poetry - Python dependency management and packaging made easy menu#close"> Home select#close"> select#toggle"> 2.4 main 2.4 1.8 mode-switch#toggle"> Use dark mode menu#open" aria-expanded=false> Open menu menu#close"> Close menu Documentation Blog History Dependency specification Plugins The pyproject.toml file Contributing to Poetry Community FAQ pre-commit hooks Building extension modules select#close"> select#toggle"> Managing environments Introduction Basic usage Managing dependencies Libraries Commands Configuration Repositories Managing environment

Explore this link on the map →

related reading