mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-01 15:28:24 -04:00
explicitly specify python version in pdm lock file build target
This commit is contained in:
parent
9ecc2ff91c
commit
3b28042d0d
3 changed files with 161 additions and 376 deletions
|
@ -60,14 +60,16 @@ pdm info
|
|||
echo
|
||||
# https://pdm-project.org/latest/usage/lockfile/
|
||||
# prod
|
||||
pdm lock --group=':all' --production --lockfile pdm.lock --strategy="cross_platform"
|
||||
pdm lock --group=':all' --production --lockfile pdm.lock --python="==3.10.*" --platform=linux
|
||||
pdm lock --group=':all' --production --lockfile pdm.lock --python="==3.10.*" --platform=macos --append
|
||||
pdm sync --group=':all' --production --lockfile pdm.lock --clean
|
||||
pdm export --group=':all' --production --lockfile pdm.lock --without-hashes -o requirements.txt
|
||||
# cp ./pdm.lock ./pip_dist/
|
||||
# cp ./requirements.txt ./pip_dist/
|
||||
|
||||
# dev
|
||||
pdm lock --group=':all' --dev --lockfile pdm.dev.lock --strategy="cross_platform"
|
||||
pdm lock --group=':all' --dev --lockfile pdm.dev.lock --python="==3.10.*" --platform=linux
|
||||
pdm lock --group=':all' --dev --lockfile pdm.dev.lock --python="==3.10.*" --platform=macos --append
|
||||
pdm sync --group=':all' --dev --lockfile pdm.dev.lock --clean
|
||||
pdm export --group=':all' --dev --lockfile pdm.dev.lock --without-hashes -o requirements-dev.txt
|
||||
# cp ./pdm.dev.lock ./pip_dist/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue