Skip to content

Commit

Permalink
🔧 Include yaml and json data files
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoPerrier committed Dec 19, 2023
1 parent 79f015b commit ae1afa3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
include AUTHORS.rst
include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
include README.rst
include Makefile

recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
recursive-include docs *.rst *.jpg *.png *.gif
recursive-include melusine *.yaml *.json
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ transformers = ["transformers>4"]
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages

[tool.setuptools]
# If there are data files included in your packages that need to be
# installed, specify them here.
package-data = {"conf" = ["*.json", "*.yaml", "*.yml",], "data" = ["*.csv"]}
# [tool.setuptools.package-data]
# package_data and data_files are specified in the MANIFEST.in
# conf = ["*.yaml"]
# data = ["*.json"]

[tool.setuptools.dynamic]
version = {attr = "melusine.VERSION"}
Expand Down

0 comments on commit ae1afa3

Please sign in to comment.