Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# venv
.venv*

# vscode
.vscode/

# python
**/__pycache__
*.pyc
Expand All @@ -15,5 +18,5 @@
*.egg-info/

# config files
nps_active_space/config/*
!nps_active_space/config/template.config
src/nps_active_space/config/*
!src/nps_active_space/config/template.config
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ You can use a Conda environment if you want, but all installation is managed by
With Conda:

```
conda create --name active python=3.13.5
conda create --name active python=3.12.12
conda activate active
```

With venv in a Git Bash terminal:
With venv in a Windows Git Bash terminal:

```
python -m venv .venv
source .venv/bin/activate
source .venv/Scripts/activate
```

With venv in a Windows Command Prompt terminal:
Expand All @@ -80,7 +80,7 @@ pip install -r requirements.txt
```

Historical note:
The GDAL dependency comes from a `.whl` file published [here](https://github.com/cgohlke/geospatial-wheels/releases). If the Python version is updated, the GDAL wheel URL in `requirements.txt` may need to be changed to reflect the updated version. For example, `gdal-3.11.1-cp313-cp313-win_amd64.whl` is GDAL version 3.11.1 for Python 3.13.
The GDAL dependency comes from a `.whl` file published [here](https://github.com/cgohlke/geospatial-wheels/releases). If the Python version is updated, the GDAL wheel URL in `requirements.txt` may need to be changed to reflect the updated version. For example, `gdal-3.11.1-cp312-cp312-win_amd64.whl` is GDAL version 3.11.1 for Python 3.12.

### Step 4: Install NPS-ActiveSpace

Expand Down
22 changes: 19 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"


[project]
name = "NPS-ActiveSpace"
version = "2.0"
description = "An NPS Sound Active Space Project."
requires-python = ">=3.7"
requires-python = ">=3.12"
readme = "README.md"

authors = [
{name="Kirby Heck"},
{name="Adina Zucker"},
Expand All @@ -18,6 +21,19 @@ maintainers = [

[project.urls]
repository = "https://github.com/dbetchkal/NPS-ActiveSpace"
documentation = "https://github.com/dbetchkal/NPS-ActiveSpace/tree/main/nps_active_space"


#
# ------------- PACKAGE DISCOVERY -------------
#

[tool.setuptools]
py-modules = ['nps_active_space']
package-dir = {"" = "src"}

# Use modern package discovery.
# This replaces the old py-modules=['nps_active_space'] approach.
[tool.setuptools.packages.find]
where = ["src"]
include = ["nps_active_space*"]

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ filelock==3.18.0
fiona==1.10.1
fonttools==4.58.5
future==1.0.0
GDAL @ https://github.com/cgohlke/geospatial-wheels/releases/download/v2025.7.4/gdal-3.11.1-cp313-cp313-win_amd64.whl#sha256=a233e533689df3388ca990f11306dc9e68bf080c34b7460dc4b954500528187e
GDAL @ https://github.com/cgohlke/geospatial-wheels/releases/download/v2025.7.4/gdal-3.11.1-cp312-cp312-win_amd64.whl
geographiclib==2.0
geopandas==1.1.1
geopy==2.4.1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading