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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdm-buildlocked-0.1.1a1.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.1a1.tar.gz
Algorithm Hash digest
SHA256 920b8ba7c314487b4319a4a748e8b7ff451170b60bf2c423711e4b744dbcd8be
MD5 5eec9a1495b577deba6c47cfb5326d35
BLAKE2b-256 6d7e352b5fee5479b685f097200890e369b8f7616847f0f3ff3aaaf6b05024b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pdm_buildlocked-0.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 793819a401f84e5ee122908a8e36149626acc2d7bb7eab420cd72cad00d65db1
MD5 7bc5a718a6a8e629f0d608c1dce891ff
BLAKE2b-256 e0286a6c6a70cef1c5f59eea5a18d88ef1506be716f9aa9bb9086e794c38b5f0

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