python pyproject.toml enclose files in package dir

repo package directory:

report:
  report.py
  template.dat
  template_testline.dat

and in pyproject.toml I have:

[tool.setuptools]
packages = [ "report" ]

but when I install the program the templatefiles are not enclosed in the package, only the report.py file:

ls -l /Users/mobj/.pyenv/versions/report/lib/python3.12/site-packages/report/
total 24
drwxr-xr-x  3 mobj  staff     96 Dec  1 17:18 __pycache__
-rw-r--r--  1 mobj  staff  11618 Dec  1 17:18 report.py

How can I get them enclosed?



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations