Skip to content

Commit

Permalink
update import for PyPI packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
themattinthehatt committed Apr 1, 2024
1 parent 5fddda4 commit b2de0df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from setuptools import find_packages, setup

VERSION = "1.2.1"
VERSION = "1.2.2"

# add the README.md file to the long_description
with open("README.md", "r") as fh:
Expand Down Expand Up @@ -92,9 +92,9 @@ def get_cuda_version():

# collect all data and script files
data_files = []
for root, dirs, files in os.walk("lightning_pose/data"):
for root, dirs, files in os.walk("data"):
data_files.extend([os.path.join(root, f) for f in files])
for root, dirs, files in os.walk("lightning_pose/scripts"):
for root, dirs, files in os.walk("scripts"):
data_files.extend([os.path.join(root, f) for f in files])


Expand All @@ -111,6 +111,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},
package_data={"": data_files},
include_package_data=True,
)

0 comments on commit b2de0df

Please sign in to comment.