Skip to content

Commit

Permalink
restructure package in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
roeger committed Dec 17, 2024
1 parent 2d61e04 commit ef7748b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,32 @@ classifiers = [
Homepage = "https://github.com/aiplan4eu/up-fast-downward/"

[tool.setuptools]
py-modules = ["_custom_build"]
py-modules = ["up_fast_downward._custom_build"]

[tool.setuptools.packages.find]
where = ["."]
include = ["up_fast_downward"] # ["*"] by default
#find = {}

[tool.setuptools.package-data]
up_fast_downward = [
'fast_downward.py',
'fast_downward_grounder.py',
'utils.py',
'downward/fast-downward.py',
'downward/README.md', 'downward/LICENSE.md',
'downward/builds/release/bin/*',
'downward/builds/release/bin/translate/*',
'downward/builds/release/bin/translate/pddl/*',
'downward/builds/release/bin/translate/pddl_parser/*',
'downward/driver/*', 'downward/driver/portfolios/*'
]

[tool.setuptools.cmdclass]
build_py = "_custom_build.install_fast_downward"
bdist_wheel = "_custom_build.bdist_wheel"
build_py = "up_fast_downward._custom_build.install_fast_downward"
bdist_wheel = "up_fast_downward._custom_build.bdist_wheel"

[build-system]
requires = ["setuptools>=59.6"]
build-backend = "setuptools.build_meta"

[tool.setuptools.package-data]
"up_fast_downward" = ['fast_downward.py',
'fast_downward_grounder.py',
'utils.py',
'downward/fast-downward.py',
'downward/README.md', 'downward/LICENSE.md',
'downward/builds/release/bin/*',
'downward/builds/release/bin/translate/*',
'downward/builds/release/bin/translate/pddl/*',
'downward/builds/release/bin/translate/pddl_parser/*',
'downward/driver/*', 'downward/driver/portfolios/*']
File renamed without changes.

0 comments on commit ef7748b

Please sign in to comment.