Generate Homebrew formulae for Poetry projects
Project description
poetry-brew
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
andpoetry.lock
must be present in the directory wherepoetry brew
is run.pyproject.toml
must specify values fortool.poetry.name
,tool.poetry.version
, andtool.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, runpoetry 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
poetry_brew-1.0.3.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for poetry_brew-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e343e00272fcd9a873a4bd2ea8ff0444d6b962bef6167b696c8d58380f891d6f |
|
MD5 | 2d153b8009d3887a45d63d2a6115db34 |
|
BLAKE2b-256 | 10883f3cd64aa9adddd71439b21222b5c3dd939fa7a975c6ea29b7560de81347 |