-
Notifications
You must be signed in to change notification settings - Fork 189
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
Make espresso "pip installable" by adding a setup.py file #4222
Comments
An example can be found in https://github.com/m-pilia/disptools |
This would be desirable.
I guess the issue is that not all dependencies can be pip-installed.
In the example you posted it was not obvious to me, how C++ library dependencies are handled. And then, there is MPI, which also lives outside the Python realm.
|
See https://pypi.org/project/lbmpy/ for a python package that takes arguments in brackets to include features like GPU support. |
I think it's okay to fail if you provide a source package. We could probably also deploy a wheel binary package (c.f. https://softwareengineering.stackexchange.com/questions/408214/best-way-to-go-about-including-c-c-dependencies-in-python-packages). BTW this is pretty standard, |
TensorFlow is a good example of a project heavily built on cpp libraries but has a nice pip install interface. To a lesser extent for just linking c++ files is DScribe which uses the same approach as MDAnalysis They might be helpful references. |
I can try to do it. No promises on time though. |
... just like any other python package
The text was updated successfully, but these errors were encountered: