Skip to main content

Adds the ability to build the project using locked dependencies.

Project description

pdm-buildlocked

Adds the ability to build the project using locked dependencies.

This is useful when distributing an application via PyPi. It should probably not be used if you are developing a library. Packages built this way can cause version conflicts when installed alongside other packages. It should be clearly documented that projects built in this way should be installed with pipx, or in their own isolated virtual environment.

Installation

This pdm plugin can be installed with the command:

pdm plugin add pdm-buildlocked

Usage

Locked build mode can be enabled by including the following in your pyproject.toml file. When enabled, running pdm build or pdm publish will cause the resulting distribution will have all dependencies (including transitive ones) pinned to the versions specified in the lock file.

[tool.pdm.build]
buildlocked = true

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

pdm-buildlocked-0.3.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

pdm_buildlocked-0.3.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file pdm-buildlocked-0.3.0.tar.gz.

File metadata

  • Download URL: pdm-buildlocked-0.3.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.3.2 CPython/3.10.5

File hashes

Hashes for pdm-buildlocked-0.3.0.tar.gz
Algorithm Hash digest
SHA256 333ef9d58906fe3c30a67fb42b3df6b2e228c734692325e0c86a1b3663feebf6
MD5 0df10561f97023e5759f0fa2c135367e
BLAKE2b-256 753b04c794bf20625b219638ba566b71ebc7301ad2f0ec3f7854b1e3ae1bdcc0

See more details on using hashes here.

File details

Details for the file pdm_buildlocked-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pdm_buildlocked-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a78aaadad86494ec521efb5022c39f9feb9b4ad9e17f42fc80e79ea745f7db46
MD5 a0065c0dc188cfeb1cde36d4ab32bad7
BLAKE2b-256 0f772e44c950fcc0d37bc05824470a961bdd9292dc9587b6a859d7fef298b331

See more details on using hashes here.

Supported by

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