Skip to content

Commit

Permalink
list internal dependencies as regular dependencies instead of using d…
Browse files Browse the repository at this point in the history
…irect links with filepaths

also exclude test/ folder from setuptools packages
  • Loading branch information
tlpss committed Jan 8, 2024
1 parent 0c424dc commit a42ed12
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 45 deletions.
14 changes: 5 additions & 9 deletions airo-camera-toolkit/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@
"rerun-sdk>=0.11.0",
"click",
"loguru",
"airo-typing",
"airo-spatial-algebra",
"airo-robots",
"airo-dataset-tools",
],
extras_require={
"external": [
f"airo_typing @ file://localhost/{root_folder}/airo-typing",
f"airo_spatial_algebra @ file://localhost/{root_folder}/airo-spatial-algebra",
f"airo_robots @ file://localhost/{root_folder}/airo-robots",
f"airo_dataset_tools @ file://localhost/{root_folder}/airo-dataset-tools",
]
},
packages=setuptools.find_packages(),
packages=setuptools.find_packages(exclude=["test"]),
entry_points={
"console_scripts": [
"airo-camera-toolkit = airo_camera_toolkit.cli:cli",
Expand Down
11 changes: 3 additions & 8 deletions airo-dataset-tools/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import pathlib

import setuptools
from setuptools import find_packages

root_folder = pathlib.Path(__file__).parents[1]
setuptools.setup(
Expand All @@ -22,14 +21,10 @@
"Pillow",
"types-Pillow",
"albumentations",
"airo-typing",
"airo-spatial-algebra",
],
extras_require={
"external": [
f"airo_typing @ file://localhost/{root_folder}/airo-typing",
f"airo_spatial_algebra @ file://localhost/{root_folder}/airo-spatial-algebra",
]
},
packages=find_packages(),
packages=setuptools.find_packages(exclude=["test"]),
entry_points={
"console_scripts": [
"airo-dataset-tools = airo_dataset_tools.cli:cli",
Expand Down
14 changes: 7 additions & 7 deletions airo-robots/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
description="Interfaces, hardware implementations of those interfaces and other functionalities to control robot manipulators and grippers at the Ghent University AI and Robotics Lab",
author="Thomas Lips",
author_email="[email protected]",
install_requires=["numpy", "ur-rtde>=1.5.7", "click"], # cf https://github.com/airo-ugent/airo-mono/issues/52
extras_require={
"external": [
f"airo_typing @ file://localhost/{root_folder}/airo-typing",
f"airo_spatial_algebra @ file://localhost/{root_folder}/airo-spatial-algebra",
]
},
install_requires=[
"numpy",
"ur-rtde>=1.5.7", # cf https://github.com/airo-ugent/airo-mono/issues/52
"click",
"airo-typing",
"airo-spatial-algebra",
],
packages=setuptools.find_packages(),
package_data={"airo_robots": ["py.typed"]},
)
13 changes: 2 additions & 11 deletions airo-spatial-algebra/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,8 @@
description="code for working with SE3 poses,transforms,... for robotic manipulation at the Ghent University AI and Robotics Lab",
author="Thomas Lips",
author_email="[email protected]",
install_requires=[
"numpy",
"scipy",
"spatialmath-python",
],
extras_require={
"external": [
f"airo_typing @ file://localhost/{root_folder}/airo-typing",
]
},
packages=setuptools.find_packages(),
install_requires=["numpy", "scipy", "spatialmath-python", "airo-typing"],
packages=setuptools.find_packages(exclude=["test"]),
# include py.typed to declare type information is available, see
# https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages
package_data={"airo_spatial_algebra": ["py.typed"]},
Expand Down
11 changes: 2 additions & 9 deletions airo-teleop/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
description="teleoperation functionality for manually controlling manipulators and grippers using gaming controllers etc. at the Ghent University AI and Robotics Lab",
author="Thomas Lips",
author_email="[email protected]",
install_requires=["pygame", "click", "loguru"],
extras_require={
"external": [
f"airo_typing @ file://localhost/{root_folder}/airo-typing",
f"airo_spatial_algebra @ file://localhost/{root_folder}/airo-spatial-algebra",
f"airo_robots @file://localhost/{root_folder}/airo-robots",
]
},
packages=setuptools.find_packages(),
install_requires=["pygame", "click", "loguru", "airo-typing", "airo-spatial-algebra", "airo-robots"],
packages=setuptools.find_packages(exclude=["test"]),
)
2 changes: 1 addition & 1 deletion airo-typing/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
author="Thomas Lips",
author_email="[email protected]",
install_requires=["numpy"],
packages=["airo_typing"],
packages=setuptools.find_packages(exclude=["test"]),
package_data={"airo_typing": ["py.typed"]},
)

0 comments on commit a42ed12

Please sign in to comment.