diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index eb96419..53ffa37 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -7,18 +7,14 @@ on: - 'OtherLanguages/Python/**' - 'src/**' - '.github/workflows/build_wheels.yml' - tags: - 'v*' - pull_request: paths: - 'OtherLanguages/Python/**' - '.github/workflows/build_wheels.yml' - workflow_dispatch: - jobs: build_wheels: name: Build on ${{ matrix.os }} @@ -61,7 +57,7 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel build cd OtherLanguages/Python - python -m build + python -m build --wheel - name: Upload Artifacts uses: actions/upload-artifact@v4 diff --git a/OtherLanguages/Python/lerc/__init__.py b/OtherLanguages/Python/lerc/__init__.py index 9fd5919..6bdbee9 100644 --- a/OtherLanguages/Python/lerc/__init__.py +++ b/OtherLanguages/Python/lerc/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.1" +__version__ = "4.1.1" from ._lerc import * diff --git a/OtherLanguages/Python/pyproject.toml b/OtherLanguages/Python/pyproject.toml index fed528d..9787c3b 100644 --- a/OtherLanguages/Python/pyproject.toml +++ b/OtherLanguages/Python/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" diff --git a/OtherLanguages/Python/setup.py b/OtherLanguages/Python/setup.py index d04b6dd..e44f0a9 100644 --- a/OtherLanguages/Python/setup.py +++ b/OtherLanguages/Python/setup.py @@ -26,8 +26,7 @@ def get_tag(self): except Exception: long_description = "Limited Error Raster Compression" -# Using MANIFEST.in doesn't respect relative paths above the package root. -# Instead, inspect the location and copy in the binaries if newer. +# Stage binaries from repo root into package root BINARY_TYPES = ["*.dll", "*.lib", "*.so*", "*.dylib"] PLATFORMS = ["Linux", "MacOS", "windows"] for platform in PLATFORMS: @@ -41,7 +40,7 @@ def get_tag(self): setuptools.setup( name="pylerc", - version="4.1", + version="4.1.1", author="esri", author_email="python@esri.com", description="Limited Error Raster Compression", @@ -56,6 +55,7 @@ def get_tag(self): "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "License :: OSI Approved :: Apache Software License", ], package_data={"lerc": BINARY_TYPES}, diff --git a/build/conda/lerc/meta.yaml b/build/conda/lerc/meta.yaml index 3ef43b5..3074aec 100644 --- a/build/conda/lerc/meta.yaml +++ b/build/conda/lerc/meta.yaml @@ -1,6 +1,6 @@ package: name: pylerc - version: 4.1 + version: 4.1.1 build: noarch: python