-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include demo data and scripts in PyPI packaging
- Loading branch information
1 parent
94b7bb3
commit 3d0363a
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,13 @@ def get_cuda_version(): | |
}, | ||
} | ||
|
||
# collect all data and script files | ||
data_files = [] | ||
for root, dirs, files in os.walk("lightning_pose/data"): | ||
data_files.extend([join(root, f) for f in files]) | ||
for root, dirs, files in os.walk("lightning_pose/scripts"): | ||
data_files.extend([join(root, f) for f in files]) | ||
|
||
|
||
setup( | ||
name="lightning-pose", | ||
|
@@ -103,4 +110,6 @@ def get_cuda_version(): | |
author_email="[email protected]", | ||
url="https://github.com/danbider/lightning-pose", | ||
keywords=["machine learning", "deep learning", "computer_vision"], | ||
package_data={"lightning_pose": data_files}, | ||
include_package_data=True, | ||
) |