Skip to content

Commit

Permalink
Merge pull request #9 from NREL/release/v0.2.0.post1
Browse files Browse the repository at this point in the history
fix sdist
  • Loading branch information
nreinicke authored Oct 31, 2023
2 parents ee5c38d + bead7c6 commit d0786b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "nrel.routee.compass"
version = "0.2.0"
version = "0.2.0.post1"
description = "An eco-routing tool build upon RouteE-Powertrain"
readme = "README.md"
documentation = "nrel.github.io/routee-compass"
Expand Down Expand Up @@ -41,6 +41,12 @@ Homepage = "https://github.nrel.gov/MBAP/routee-compass"
[tool.maturin]
python-source = "python"
features = ["pyo3/extension-module"]
module-name = "nrel.routee.compass.compass_app_py"
module-name = "nrel.routee.compass.routee_compass_py"
manifest-path = "rust/routee-compass-py/Cargo.toml"
include = ["python/nrel/routee/compass/resources/models/*.bin"]
include = [
"python/nrel/routee/compass/resources/models/*.bin",
"python/nrel/routee/compass/resources/*.toml",
]
exclude = [
"rust/routee-compass-powertrain/onnx-runtime/v1.15.1/**/*"
]
2 changes: 1 addition & 1 deletion python/nrel/routee/compass/compass_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from pathlib import Path
from typing import Any, Dict, List, Union
from nrel.routee.compass.compass_app_py import (
from nrel.routee.compass.routee_compass_py import (
CompassAppWrapper,
)

Expand Down

0 comments on commit d0786b3

Please sign in to comment.