json works
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
from setuptools import setup, find_packages
|
||||
from pathlib import Path
|
||||
|
||||
# Find all JSON files in the configs directory
|
||||
configs_dir = Path("src/orisys/configs")
|
||||
json_files = []
|
||||
if configs_dir.exists():
|
||||
json_files = [str(p.relative_to("src")) for p in configs_dir.glob("*.json")]
|
||||
|
||||
setup(
|
||||
name="orisys",
|
||||
@@ -7,6 +14,10 @@ setup(
|
||||
author="Your Name",
|
||||
package_dir={"": "src"},
|
||||
packages=find_packages(where="src"),
|
||||
package_data={
|
||||
"orisys": ["configs/*.json"],
|
||||
},
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
"numpy",
|
||||
"opencv-python",
|
||||
|
||||
Reference in New Issue
Block a user