Skip to content

Commit 3702ed5

Browse files
committed
package: fix packaging using 'resources' package
1 parent 9f66089 commit 3702ed5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+26
-41
lines changed

MANIFEST.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
include src/warnet/*.json
2-
graft images
3-
graft manifests
4-
graft scripts
2+
graft resources

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ build-backend = "setuptools.build_meta"
3232
[tool.setuptools.dynamic]
3333
dependencies = {file = ["requirements.txt"]}
3434

35+
[tool.setuptools]
36+
include-package-data = true
37+
3538
[tool.setuptools.packages.find]
36-
where = ["src"]
39+
where = ["src", "resources"]
3740

3841
[tool.ruff]
3942
extend-exclude = [

resources/__init__.py

Whitespace-only changes.

resources/graphs/__init__.py

Whitespace-only changes.
File renamed without changes.

resources/images/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)