Skip to content

Commit

Permalink
Add package_data to to setup() call in setup.py (#347)
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 Jul 5, 2024
1 parent 77061a0 commit a89d04d
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 a89d04d

Please sign in to comment.