Skip to main content

Generate Homebrew formulae for Poetry projects

Project description

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.

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poetry_brew-1.0.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file poetry_brew-1.0.3.tar.gz.

File metadata

  • Download URL: poetry_brew-1.0.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1034-azure

File hashes

Hashes for poetry_brew-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4348ab393ec8ac224c4a60402b4813bf99f87aae7c1cdf2cadb883dae59e5179
MD5 1ba3f4de90693057b7240104ca2f2cef
BLAKE2b-256 45dbbcf5449c62e47a46fa3bdcda1e425663e661ade6ca2c151f5bc83edd90dd

See more details on using hashes here.

File details

Details for the file poetry_brew-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: poetry_brew-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1034-azure

File hashes

Hashes for poetry_brew-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e343e00272fcd9a873a4bd2ea8ff0444d6b962bef6167b696c8d58380f891d6f
MD5 2d153b8009d3887a45d63d2a6115db34
BLAKE2b-256 10883f3cd64aa9adddd71439b21222b5c3dd939fa7a975c6ea29b7560de81347

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page