Skip to content

Commit

Permalink
Working, maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Sep 30, 2024
1 parent 5bf6a00 commit 84818ce
Show file tree
Hide file tree
Showing 17 changed files with 76 additions and 7 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
recursive-include inventree_wireviz/templates *.js *.html
recursive-include inventree_wireviz/frontend/dist/static *.js *.css
recursive-include inventree_wireviz/static *.js *.css
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
68 changes: 68 additions & 0 deletions inventree_wireviz/static/WirevizPanel.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inventree_wireviz/static/assets/style.css

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

# Copy the compiled frontend files into the 'static' directory
# Required for MANIFEST.in to work correctly
# src_dir = pathlib.Path('frontend/dist/static')
# dst_dir = pathlib.Path('inventree_wireviz/static')
src_dir = pathlib.Path('frontend/dist/static')
dst_dir = pathlib.Path('inventree_wireviz/static')

# # Clean out the destination directory
# if dst_dir.exists():
# shutil.rmtree(dst_dir)
# Clean out the destination directory
if dst_dir.exists():
shutil.rmtree(dst_dir)

# shutil.copytree(src_dir, dst_dir)
shutil.copytree(src_dir, dst_dir)

setuptools.setup(
name="inventree-wireviz-plugin",
Expand Down

0 comments on commit 84818ce

Please sign in to comment.