We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b7bb3 commit 3d0363aCopy full SHA for 3d0363a
setup.py
@@ -89,6 +89,13 @@ def get_cuda_version():
89
},
90
}
91
92
+# collect all data and script files
93
+data_files = []
94
+for root, dirs, files in os.walk("lightning_pose/data"):
95
+ data_files.extend([join(root, f) for f in files])
96
+for root, dirs, files in os.walk("lightning_pose/scripts"):
97
98
+
99
100
setup(
101
name="lightning-pose",
@@ -103,4 +110,6 @@ def get_cuda_version():
103
110
author_email="danbider@gmail.com",
104
111
url="https://github.com/danbider/lightning-pose",
105
112
keywords=["machine learning", "deep learning", "computer_vision"],
113
+ package_data={"lightning_pose": data_files},
114
+ include_package_data=True,
106
115
)
0 commit comments