This repository was archived by the owner on Jan 27, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
88 lines (79 loc) · 2.29 KB
/
Copy pathsetup.py
File metadata and controls
88 lines (79 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/usr/bin/env python3
"""
Setup script for Hydrus Software Stack
"""
import os
from setuptools import find_packages, setup
# Read the README file
def read_readme():
with open("README.md", "r", encoding="utf-8") as fh:
return fh.read()
# Core dependencies
CORE_REQUIREMENTS = [
"opencv-python",
"numpy",
"matplotlib",
"requests",
"colorama",
"pyserial",
"fastapi",
"Flask",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"pre-commit>=3.0.0",
"mypy>=1.0.0",
]
# Optional dependencies grouped by feature
OPTIONAL_REQUIREMENTS = {
"depth-estimation": [
"onnx",
"onnxruntime-gpu",
"onnxscript",
"onnxslim",
"torch",
"torchvision",
"tqdm",
"typer",
],
}
# Add 'all' extra that includes everything
OPTIONAL_REQUIREMENTS["all"] = [
dep for deps in OPTIONAL_REQUIREMENTS.values() for dep in deps
]
setup(
name="hydrus-software-stack",
version="0.1.0",
author="Cesar",
author_email="cesar@example.com",
description="Autonomous underwater vehicle software stack with computer vision and navigation capabilities",
long_description=read_readme(),
long_description_content_type="text/markdown",
url="https://github.com/your-username/hydrus-software-stack",
project_urls={
"Bug Reports": "https://github.com/your-username/hydrus-software-stack/issues",
"Source": "https://github.com/your-username/hydrus-software-stack",
},
packages=find_packages(include=["autonomy*"]),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=CORE_REQUIREMENTS,
extras_require=OPTIONAL_REQUIREMENTS,
entry_points={
"console_scripts": [
"hydrus-depth-estimator=autonomy.src.computer_vision.depth_estimation:main",
],
},
include_package_data=True,
zip_safe=False,
)