Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and install from source #25

Open
Zed-Wu opened this issue Mar 6, 2024 · 1 comment
Open

Build and install from source #25

Zed-Wu opened this issue Mar 6, 2024 · 1 comment

Comments

@Zed-Wu
Copy link

Zed-Wu commented Mar 6, 2024

Thanks a lot for your fantastic work!

I want to modify and fine-tune some C++ code but cannot figure out how to build and install from the source.
Could you please write a simple guidance of how to build and install the panda_py from the source code?

update: I successfully build the _core.so and libfranka.so, and use make install to install the .so file, but how to make and install the python library? Currently I can not import panda_py from my own project.

Many thanks.

@JeanElsner
Copy link
Owner

Yes, those shared libraries contain the CPython modules, but they need to additionally be packaged as a proper Python package (there is also some native Python code, e.g. to interact with the Desk). This project uses scikit-build-core as a build backend, so really the proper way to build from source is to run either python -m build . or pip install . to both build and install. I will also provide a proper guide as part of the documentation.

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

No branches or pull requests

2 participants