Skip to content

Commit

Permalink
add rye things
Browse files Browse the repository at this point in the history
  • Loading branch information
mvexel committed Jul 9, 2024
1 parent b113dca commit 6fbab9c
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 0 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12.3
30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[project]
name = "overpass"
version = "0.7"
description = "Python wrapper for the OpenStreetMap Overpass API"
authors = [
{ name = "Martijn van Exel", email = "[email protected]" }
]
dependencies = [
"osm2geojson",
"requests>=2.3.0",
]
readme = "README.md"
requires-python = ">= 3.8"
license = { text = "Apache" }

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.2.2",
]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["src/overpass"]
36 changes: 36 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
certifi==2024.7.4
# via requests
charset-normalizer==3.3.2
# via requests
idna==3.7
# via requests
iniconfig==2.0.0
# via pytest
numpy==2.0.0
# via shapely
osm2geojson==0.2.5
# via overpass
packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.2.2
requests==2.32.3
# via osm2geojson
# via overpass
shapely==2.0.4
# via osm2geojson
urllib3==2.2.2
# via requests
29 changes: 29 additions & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
certifi==2024.7.4
# via requests
charset-normalizer==3.3.2
# via requests
idna==3.7
# via requests
numpy==2.0.0
# via shapely
osm2geojson==0.2.5
# via overpass
requests==2.32.3
# via osm2geojson
# via overpass
shapely==2.0.4
# via osm2geojson
urllib3==2.2.2
# via requests

0 comments on commit 6fbab9c

Please sign in to comment.