Skip to content

Commit

Permalink
Switch to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Oct 10, 2024
1 parent d37e6fc commit 5453f37
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ permissions:
env:
rustlib: rdp
wheelname: simplification
CIBW_BUILD_FRONTEND: build[uv]

on: [push, pull_request]

Expand Down Expand Up @@ -110,6 +111,7 @@ jobs:
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
CIBW_ARCHS_LINUX: "auto aarch64"
CIBW_TEST_SKIP: "*:arm64"
CIBW_BUILD_FRONTEND: build[uv]

- id: attest
name: Attest Build Provenance
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
name = "simplification"
dynamic = ["version", "readme"]
description = "Fast linestring simplification using RDP or Visvalingam-Whyatt and a Rust binary"
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"numpy >= 1.11.0",
"numpy >= 2.0.0",
]
authors = [{ name = "Stephan Hügel", email = "[email protected]" }]
license = {file = "LICENSE.md"}
keywords = ["Geo", "Polyline", "Linestring", "Ramer-Douglas-Peucker", "Douglas-Peucker", "Visvalingam-Whyatt"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
Expand Down Expand Up @@ -46,7 +46,7 @@ build-backend = "setuptools.build_meta"
requires = [
"setuptools >= 45",
"setuptools-scm[toml] >= 6.2",
"numpy >= 1.11.0",
"numpy >= 2.0.0",
"cython >= 0.29.0",
"wheel >= 0.29.0"
]
Expand Down
144 changes: 144 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5453f37

Please sign in to comment.