You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
Our current python binding generation mechanism requires the user first build the code with
BUILD_PYBINDINGS=ON
and then setPYTHONPATH
to the path ofPython
directory, which includes__init__.py
files generated during the build. The current process doesn't generate asetup.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.The text was updated successfully, but these errors were encountered: