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.

Usage

This plugin modifies the built in pdm build command to include the --locked argument. When specified the resulting artifacts will have all their dependencies (including transitive ones) pinned to the versions specified in the lock file.

pdm build --locked

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.1.0a1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

pdm_buildlocked-0.1.0a1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file pdm-buildlocked-0.1.0a1.tar.gz.

File metadata

  • Download URL: pdm-buildlocked-0.1.0a1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.1.5 CPython/3.10.4

File hashes

Hashes for pdm-buildlocked-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 b9e54aaf006ff66111fbf92c379163b464bd192ae34d4574999f22d76f723531
MD5 4c6ddc92c9c680c5073eb70799cc9744
BLAKE2b-256 40f7e2d65525761c2bb67e5dc360cae8bb66896ed9b84da7251874d4b8bb4f49

See more details on using hashes here.

File details

Details for the file pdm_buildlocked-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for pdm_buildlocked-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2461f9144e0bf43690074649c1d97cb72303fa6be850428a9da1f5c238825f6
MD5 0e9796956b184322ca9a1fc35900c08b
BLAKE2b-256 0db57d1203af362a1459374163ac14633718fdd0565e5ff260ec741ba833584f

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