Skip to content

kdeldycke/poetry-brew

 
 

Repository files navigation

poetry-brew

PyPI - Python Version PyPI GitHub release (latest SemVer) PyPI - License

poetry-brew is a Poetry plugin that generates Homebrew formulae for Poetry projects.

Installation

poetry self add poetry-brew

Requirements

poetry-brew can only generate formulae for packages that meet the following criteria:

  • The package must be published on PyPI.
  • pyproject.toml and poetry.lock must be present in the directory where poetry brew is run.
  • pyproject.toml must specify values for tool.poetry.name, tool.poetry.version, and tool.poetry.dependencies.python.
    • tool.poetry.name must be a case-insensitive match with the package's name on PyPI.
    • tool.poetry.version must match a version of the package that has been published on PyPI. For full usage information, run poetry brew --help.

Usage

poetry brew

poetry brew supports the --with, --without, and --only options, which function identically to poetry install. For full usage information, run poetry brew --help.

Configuration

poetry-brew can be configured through a tool.brew.config section in pyproject.toml.

[tool.brew.config]
dependencies = []

Supported Options

  • dependencies (list, default: []): A list of other Homebrew formulae the package depends on.

License

poetry-brew is licensed under the MIT License.

About

Generate Homebrew formulae for Poetry projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%