[Buildbot-commits] [Buildbot] #971: Build a windows installer
Buildbot
nobody at buildbot.net
Fri Jul 8 10:48:16 UTC 2011
#971: Build a windows installer
------------------------+-----------------------
Reporter: dustin | Owner: fatman2
Type: enhancement | Status: accepted
Priority: major | Milestone: 0.8.+
Version: | Resolution:
Keywords: windows |
------------------------+-----------------------
Changes (by jollyroger):
* cc: jolly_roger@… (added)
Comment:
Just in case we didn't missed the thing. We can use
{{{
python.exe setup.py bdist --format=msi
}}}
to get an correct msi installer right from our sources with no significant
effort! However there is a problem with minor versions and nightly builds:
version should be in format `[0-9.]+` so I managed build installer for
0.8.4 but could not build it for 0.8.3p1.
Installer correctly detects installed Python versions and can be installed
into custom path too (e.g. you will be available to install it under
virtualenv, but just once). The installer also doesn't detect
dependencies. Uninstaller in this case removes all installed buildbot
instances at once, so I recommend to install buildslave only system-wide
with this method.
I won't attach the installer itself — you'll be able to build it on any
windows box having buildbot sources and installed Python.
If we need more complicated installer, than NSIS is the right choice. But
at least we could suggest developers of Zope.Interface and other our
dependencies and useful tools to make binary builds and publish them OR we
could download such dependencies' sources, build installer during
installation and install them. The latter method is already tested by
myself for virtualenv and Zope.Interface. This will surely work for pure
python packages and even twisted creates such installers (the msi ones,
not exe) but binary modules is another talk.
I also tried to build installer under wine and it works under wine ONLY.
However nsis installers built under linux work in windows fine.
'''fatman''', if you're working on this still and you're not against
someone's help, please get in touch with me to cooperate on this task (my
nickname on github is the same as here).
--
Ticket URL: <http://trac.buildbot.net/ticket/971#comment:16>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list