Skip to content

Commit

Permalink
pass setuptools_scm config to sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
planetmarshall committed Dec 30, 2023
1 parent 072faf2 commit e09aef3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ jobs:
python-version: "3.x"

- name: Install build
run: pip install build
run: pip install --user build

- name: Build SDist
env:
SETUPTOOLS_SCM_OVERRIDES_FOR_PILLOW_JPLS: 'local_scheme = "no-local-version"'
run: python -m build --sdist

- uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ To use system dependencies instead of using conan:

```
python -m build -C cmake.args="--preset sysdeps"
pip install dist/<wheel_name>.whl
pip install dist/*.whl
```

Note that wheels created this way are unlikely to be portable and are suitable only for local use. A Dockerfile is provided
in the root repository to install the prerequisites, see also the CI job that builds a wheel using only system
in the root of the repository to install the prerequisites, see also the CI job that builds a wheel using only system
dependencies.

Tests
Expand Down

0 comments on commit e09aef3

Please sign in to comment.