Skip to content

Commit

Permalink
Add package_data to to setup() call in setup.py
Browse files Browse the repository at this point in the history
Specify all HTML files under templates folder
to be included as package data files.
  • Loading branch information
kvid committed May 16, 2024
1 parent 954c4f5 commit 35643fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
keywords="cable connector hardware harness wiring wiring-diagram wiring-harness",
url=APP_URL,
package_dir={"": "src"},
package_data={CMD_NAME: ["templates/*.html"]},
packages=find_packages("src"),
entry_points={
"console_scripts": [
Expand Down

0 comments on commit 35643fd

Please sign in to comment.