From f1e1f3315743a08c2eb44b11d71907911c8898dd Mon Sep 17 00:00:00 2001 From: ibarbech Date: Mon, 15 Oct 2018 13:41:20 +0200 Subject: [PATCH] Created the python module to be able to import from the library from outside the directory. The installation of the module is done with the command: sudo python setup.py install --- python/__init__.py | 1 + python/setup.py | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 python/__init__.py create mode 100644 python/setup.py diff --git a/python/__init__.py b/python/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/python/__init__.py @@ -0,0 +1 @@ + diff --git a/python/setup.py b/python/setup.py new file mode 100644 index 0000000..d1a642c --- /dev/null +++ b/python/setup.py @@ -0,0 +1,11 @@ +from distutils.core import setup + +setup(name="apriltag", + version="0.1", + description="apriltag Python Library", + author="Matt zucker", + license="GPL", + scripts=["apriltag.py"], + packages=["."] + ) +