0

I have some Cython wrapped C++ code that I want to package up. The package directory is structured like so:

. ├── PackageA │ ├── Mypackage.pyx │ ├── MyPackageC.cpp │ ├── HeaderFile.h │ ├── __init__.py │ └── setup.py ├── requirements.txt ├── setup.py 

I have previously been making a shared object file by running python setup.py build_ext --inplace using the setup.py file inside of the PackageA directory and importing the shared object file but I am unsure how to deal with this inside a package structure. How can I do this?

1 Answer 1

1

python setup.py install should do the right thing. You can check it by doing import PackageA from a separate python session outside of the project folder.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.