-
Notifications
You must be signed in to change notification settings - Fork 17
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
Package stormpy as a wheel #161
Comments
That reminds me that I should keep an eye on the stormpy package at pypi. At the moment, the package needs to be compiled though and we do not distribute a pre-compiled python wheel. I would also first start with providing binaries for Storm (see moves-rwth/storm#527) before looking at stormpy. |
As far as I understand, a python wheel is supposed to be a self-contained binary, but there might be issues with linking dependencies, I'll have to look closer. One probably has to do some configuration before it works well.
Maybe, I don't know. I can still install storm through homebrew or the AUR more or less easily, but this isn't the case for stormpy. I also kind of subjectively expect a python tool to be easily installable with |
Regarding easy to install via pip: it should work in principle with |
That package looks for my local storm install and compiles using that, so I guess you need storm installed? I was suggesting to put storm into the prebuilt wheel (I'm not sure if this is what I'm doing with the above commands though). |
Ok, now I understand your idea. As far as I am aware the wheel package will only contain the stormpy libraries but not Storm itself. |
That makes sense. We can probably get storm in there though :)
This is true for many Python packages, but as long as it's only via the package manager, it's still quite a bit easier than compiling Storm.
Yes, but it's also the easiest way to use Storm as a backend and glue it together with other projects :)
Yes, but that is more difficult to set up locally. It's a different thing, more a playground for stormpy than something you would use in a small project where you also have other dependencies.
Exactly, I think that would be great for users. |
Hi,
it is easy to compile stormpy as a python wheel:
Why not package it as a wheel? The stormpy installation would go from compiling storm on the right version, compiling stormpy, etc., to just doing a
pip install stormpy
. There would need to be someone on a Linux and someone on a MacOS system compiling it every release, but I don't see this as a big issue.You could also package it as a wheel under a different name or under a toggle, like
pip install stormpy[prebuilt]
.The text was updated successfully, but these errors were encountered: