-
Notifications
You must be signed in to change notification settings - Fork 1k
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 pip installable wheels #921
Comments
I'm currently struggling like crazy on installing on Linux Mint 18 (x64). I went with the virtual environment approach as suggested but getting "Segmentation fault" when I start it. Please keep me updated on any changes to the install process for my OS, and if I can help in anyway I'll be glad to lend a hand 👍 |
I'll try to look at this again this weekend. |
I didn't make it, because I was offline all weekend, but it still si on my TODO. |
Related to kliment#921
Related to kliment#921
Related to kliment#921 This makes it possible to build sdists and wheels on Linux at least. Unfortunately dbus-python and wxPython have no Linux wheels, but otherwise the wheel is pip installable.
Related to kliment#921 This makes it possible to build sdists and wheels on Linux at least. Unfortunately dbus-python and wxPython have no Linux wheels, but otherwise the wheel is pip installable.
I've opened #1078 as step one. If somebody could build and install the wheel on other platforms, that would be cool. |
#1082 fixed the rest, but Ḯll close this once we have wheels on PyPI. |
Something is wrong with the wheels we're generating - when I install them with pip I can't run the application - it fails to find the ui image resources and crashes on startup. Pronsole seems to work. On macOS, it's even worse - the application fails to start, with the same error, but then instead of exiting just gets stuck forever until manually stopped. I'm not sure what's happening there, the images get installed to |
I'll have a look next week. |
Lines 80 to 85 in a4e0276
This (and other such constructs in the file) makes it so. |
I believe we need to replace |
I tried the wheel that the CI built for #1101 and it fails at 'self.bg_bmp = wx.Image(imagefile(self.imagename), wx.BITMAP_TYPE_PNG).ConvertToBitmap()' in printrun/gui/xybuttons.py which expects to find a file in "images/control_xy.png" but the file is actually in sys.prefix+share/pronterface/control_xy.png so we're still losing a directory somewhere |
We now have wheels on PyPI :) |
I'll do this. After 2.0.0 final is released.
setup.py
looks like a mess, let's clean it firstrequirements.txt
only, move to (or dynamically load them from) setup.pyinstall_requires
The text was updated successfully, but these errors were encountered: