Skip to main content

Poetry plugin providing command to compile package into bytecode one

Project description

Poetry "build-compact" plugin

Poetry plugin providing build-compact command which builds wheel containing only *.pyc files for the current Python version. Created package name has suffix added to the original name. It is possible to replace main dependencies by name or prefix by the packages with the same suffix. Non-main dependencies are not touched. The pyproject.toml and poetry.lock files stay intact, as well as virtual environment.

Plugin also provides replace command which replaces main dependencies by name or prefix by the packages with the same suffix. Affected packages are replaced by compact ones of the exactly same version as currently installed original package. The pyproject.toml and poetry.lock as well as virtual environment are updated.

Changelog

  • 1.2.1: sync dependencies only in virtual environments
  • 1.2.0: use project virtual env Python version instead of Poetry one, keep dependencies markers in compact packages
  • 1.1.0: replace command now uses installed versions exactly instead of original versions constraint

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_build_compact-1.2.1.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

poetry_build_compact-1.2.1-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file poetry_build_compact-1.2.1.tar.gz.

File metadata

  • Download URL: poetry_build_compact-1.2.1.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for poetry_build_compact-1.2.1.tar.gz
Algorithm Hash digest
SHA256 41f2dad95b44ba445ce237b37abc71d926ab33c09a5aac7721f3c0fb44698098
MD5 d9225a51c56c0519742c48f307a4aa7a
BLAKE2b-256 fb5b67d9d6b9b7ee12d7757f5222ca650460d7b7baa6e185e64d0e2b8587044f

See more details on using hashes here.

File details

Details for the file poetry_build_compact-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_build_compact-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b3cdf7e8cc45130660a128e656f1563817f0f7081bd56c63e5ff5202c483da
MD5 a6692a196b6c79fc81953a084adbf624
BLAKE2b-256 1d8dd4e1df0a79bca749626070e86c0cc00fc603d1d974f2ee396a4d0767343d

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