Skip to content

Commit

Permalink
fix: make ecalc installable again
Browse files Browse the repository at this point in the history
When restructuring libecalc the previous mappings
for which packages was removed for simplicity. We
need to include those in order to make poetry/pip
include the required packages in src/ directory, since
it will only include libecalc by default (it will look
for src dir and package name). It is nevertheless better
to be explicit.

The current functionality is the same way as it worked
before it failed.
  • Loading branch information
TeeeJay authored Sep 20, 2023
1 parent e861d87 commit 58693de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]

packages = [
{ include = "cli", from = "src" },
{ include = "neqsim_ecalc_wrapper", from = "src" },
{ include = "libecalc", from = "src" },
]

[tool.poetry.scripts]
ecalc = 'cli.main:main'

Expand Down

0 comments on commit 58693de

Please sign in to comment.