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

Python packaging #17

Closed
keceli opened this issue Apr 25, 2023 · 1 comment
Closed

Python packaging #17

keceli opened this issue Apr 25, 2023 · 1 comment

Comments

@keceli
Copy link
Collaborator

keceli commented Apr 25, 2023

Our current python binding generation mechanism requires the user first build the code with BUILD_PYBINDINGS=ON and then set PYTHONPATH to the path of Python directory, which includes __init__.py files generated during the build. The current process doesn't generate a setup.py file and has some issues as listed below.

I would like to use this issue to discuss the pathway for generating a PyPI package and enable users to install NWChemEx simply with pip install NWChemEx and address the following issues:

cppyy provides some help to automate package generation as described here. cppyy_add_bindings function can be found here.

@ryanmrichard
Copy link
Member

Python packaging is something I am very interested in pursuing; however, I think it should be done at the CMaize level so other projects can benefit too. With the switch to Pybind11 for most of the stack, this issue is also stale so I'm closing it. If someone is interested in tackling this issue, they are encouraged to open an issue in the CMaize repo and discuss it there.

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