forked from SpesRobotics/teleop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (42 loc) · 1.4 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (42 loc) · 1.4 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
import re
from pathlib import Path
from setuptools import setup
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
# Replace relative links with absolute links
for match in re.findall(r"\]\((?!http)([^)]+)\)", long_description):
filepath = Path(match)
long_description = long_description.replace(
match, f"https://github.com/SpesRobotics/teleop/raw/main/{filepath}"
)
setup(
name="teleop",
version="0.1.2",
packages=["teleop", "teleop.basic", "teleop.ros2", "teleop.utils", "teleop.ros2_ik", "teleop.xarm"],
long_description=long_description,
long_description_content_type="text/markdown",
description="Turns your phone into a robot arm teleoperation device by leveraging the WebXR API",
install_requires=[
"fastapi",
"uvicorn[standard]",
"numpy",
"transforms3d",
"pytest",
"requests",
"websocket-client",
],
extras_require={
"utils": ["pin"],
},
package_data={
"teleop": ["cert.pem", "key.pem", "index.html", "teleop-ui.js"],
},
license="Apache 2.0",
author="Spes Robotics",
author_email="contact@spes.ai",
project_urls={
"Documentation": "https://github.com/SpesRobotics/teleop",
"Source": "https://github.com/SpesRobotics/teleop",
"Tracker": "https://github.com/SpesRobotics/teleop/issues",
},
)