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 authored and formatc1702 committed Jun 7, 2024
1 parent bd1d9a3 commit 7115623
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 7115623

Please sign in to comment.