Skip to content

Commit

Permalink
build: hardcode inclusion of our core package #186
Browse files Browse the repository at this point in the history
Hardcoding the inclusion instead of relying on auto-discovery
allows us to rename the package during delivery to TestPyPI
  • Loading branch information
poikilotherm committed Dec 13, 2023
1 parent 1beadb0 commit 339dd2e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# SPDX-FileContributor: David Pape

[tool.poetry]
# Reference at https://python-poetry.org/docs/pyproject/
name = "hermes"
version = "0.1.0"
description = "Workflow to publish research software with rich metadata"
Expand All @@ -30,6 +31,13 @@ include = [
"hermes/schema/*.json",
]

# Stating our package explicitely here to enable
# a) including contrib packages in the future and
# b) rename the package for development snapshot releases to TestPyPI
packages = [
{ include = "hermes", from = "src" }
]

[tool.poetry.dependencies]
python = "^3.10"
click = "^8.1"
Expand Down

0 comments on commit 339dd2e

Please sign in to comment.