28 lines
692 B
Python
28 lines
692 B
Python
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",
|
|
version="0.1.0",
|
|
description="Orisys - Optical Tactile Sensor SDK",
|
|
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",
|
|
"scipy",
|
|
],
|
|
python_requires=">=3.8",
|
|
)
|