Skip to content

Commit

Permalink
Package versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
pveigadecamargo committed Aug 14, 2024
1 parent 695e190 commit 0389c10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
- name: Build SDist
run: pipx run build --sdist

- name: Test if SDist build has all necessary pieces to be installed
run: pip install setuptools dist/*.tar.gz

- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz

- name: Test if SDist build has all necessary pieces to be installed
run: pip install dist/*.tar.gz

build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down
3 changes: 2 additions & 1 deletion docs/website/check_documentation_versions.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import os
import sys
from pathlib import Path
import pkg_resources

npth = Path(__file__).parent.parent.parent
if npth not in sys.path:
sys.path.append(npth)
print(npth)

from setup import release_version
release_version = pkg_resources.get_distribution("aequilibrae").version

# We check if the reference to all existing versions were added by checking
# that the current version is referenced
Expand Down

0 comments on commit 0389c10

Please sign in to comment.