Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.

How to import as a module #6

Open
azazdeaz opened this issue Aug 21, 2019 · 2 comments
Open

How to import as a module #6

azazdeaz opened this issue Aug 21, 2019 · 2 comments

Comments

@azazdeaz
Copy link

Hey, thanks a lot for this binding, works great! 馃帀

I'm not sure how should I use it as a dependency. Currently, I clone the repo next to my sources and patch it with an __init__.py so I can import the apriltags3.py, but this doesn't feel like the best way (i don't have much experience with python).

The pupil fork has a nice scikit-build based solution to turn this into a pip installable package. It'd be great to have something similar here.

@AleksandarPetrov
Copy link
Contributor

@azazdeaz indeed, adding a setup.py should solve the problem. Just out of curiosity, why are you not using the pupil fork?

@azazdeaz
Copy link
Author

I'm using that for now, but they added this line to the readme:

...specifically adjusted to work with the pupil-labs software...

So it doesn't feel like a good long term solution :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants