1From 7490ac4629c7fe0dc329647e6e000d4bc13c610d Mon Sep 17 00:00:00 2001
2From: Richard Leitner <dev@g0hl1n.net>
3Date: Wed, 24 Jan 2024 00:49:45 +0100
4Subject: [PATCH] lib: python: remove self-import from setup.py
5
6Importing moteus itself within the setup.py creates some kind of a
7chicken-and-egg problem. Furthermore it isn't used anywhere within
8setup.py. Therefore remove the corresponding import.
9
10Signed-off-by: Richard Leitner <dev@g0hl1n.net>
11
12Upstream-Status: Backport [https://github.com/mjbots/moteus/commit/7490ac4629c7fe0dc329647e6e000d4bc13c610d]
13---
14 setup.py | 2 --
15 1 file changed, 2 deletions(-)
16
17diff --git a/setup.py b/setup.py
18index 2731685..6c6064d 100644
19--- a/setup.py
20+++ b/setup.py
21@@ -17,8 +17,6 @@
22 import setuptools
23 import pathlib
24
25-import moteus
26-
27 here = pathlib.Path(__file__).parent.resolve()
28
29 # Get the long description from the README file
30--
312.40.1
32
33