-
Notifications
You must be signed in to change notification settings - Fork 6
Add wheel and windows builds on pypi #37
Comments
I'm planning on having builds pushed to PyPI from Travis, which will cover the Linux builds; it looks like AppVeyor provides similar functionality for Windows. Will do them both at the same time. |
Cool, cant wait for the next automated release. 😀 |
I have these mostly working in a branch now, so next release will contain wheels and .exe builds! I've had trouble getting the MSI uploaded to PyPI, but that can be tackled separately. |
What is the trouble with MSI? Are you trying it at testpypi? Not having a msi is not a big problem though, so to say. |
Also, I see |
MSI upload at testpypi is returning errors, yes. I've only been building the 64 bit versions while testing, I expect 32 bit will work ok. |
Yes, I am also getting the same error playing with a different package. Seems like everyone has it and apparently, this is the solution https://github.com/schmir/xdistutils#the-bdist_msi_fixed-command . Install But I could not get it working. If things dont work after all, we should just keep it as a separate long-running bug and move on for now. |
👍 |
Builds work, but the |
There's a wheel for 0.2.1 on PyPI, though I still have to finish out work on the autobuilds for the Windows specific builds. |
Pontoon on PyPi doesnt have wheel and other builds like .msi or .exe for windows.
Although the later ones are not that important, wheels are the new standard for python packaging and so, we should definitely use that. As they are pre-compiled, they are also easier to install in some cases.
Appveyor has a way of building stuffs within it and making those packages available for download called artifacts - which is already setup and available for each job. For eg, here is one https://ci.appveyor.com/project/duggan/pontoon/build/1.0.24/job/6f0truodogexy7ul/artifacts .
We can directly upload that during release to pypi or build it on dev machines using
python setup.py bdist_wheel bdist_wininst bdist_msi
. I am not sure if the windows builds are possible on linux machines. Also, we should build it using different major versions of Python.The text was updated successfully, but these errors were encountered: