There are no official build instructions. I use PyInstaller (which I
maintain).
I have attached to this mail the spec file I use. Once you epurate it of the
absolute paths, it should be enough to run "python
[PYINSTALLER-PATH]\Build.py svnmerge.spec".
Warning: I'm a complete and utter python novice! :-)
My first attempt to use pyinstaller to build svnmerge.exe resulted in the following warnings.
W: Cannot determine your Windows or System directories
W: Please add them to your PATH if .dlls are not found
W: or install starship.python.net/skippy/win32/Downloads.html
However, the web site listed in the message is no longer valid. I eventually ended up at http://sourceforge.net/projects/pywin32/ where I downloaded and installed the relevant package which fixed these warnings.
Recommendation: Change the old path in the warning message to the new sourceforge location.
Another compile produced svnmerge.exe and a textfile of warnings as shown below. Are these normal on Windows XP Pro with Python 2.4? Regardless, I seem to have an svnmerge that appears to run "svnmerge.exe -V" successfully. Is there a way to exercise the testsuite using the executable?
W: no module named posix (conditional import by os)
W: no module named ctypes (delayed import by __main__)
W: no module named pwd (delayed, conditional import by posixpath)
W: no module named posix (delayed, conditional import by iu)
W: no module named org (top-level import by copy)
W: no module named _emx_link (conditional import by os)
W: no module named fcntl (top-level import by tempfile)
W: no module named Carbon (conditional import by tempfile)
W: __all__ is built strangely at line 0 - dis (c:\python24\lib\dis.pyc)
W: delayed __import__ hack detected at line 0 - encodings (c:\python24\lib\encodings\__init__.pyc)
W: __all__ is built strangely at line 0 - re (c:\python24\lib\re.pyc)
W: delayed eval hack detected at line 0 - os (c:\python24\lib\os.pyc)
W: __all__ is built strangely at line 0 - tokenize (c:\python24\lib\tokenize.pyc)
W: delayed conditional exec statement detected at line 0 - iu (C:\Downloads\Development\Subversion\svnmerge\pyinstaller_1.2\iu.pyc)
W: delayed conditional exec statement detected at line 0 - iu (C:\Downloads\Development\Subversion\svnmerge\pyinstaller_1.2\iu.pyc)
W: delayed conditional eval hack detected at line 0 - warnings (c:\python24\lib\warnings.pyc)
W: delayed conditional __import__ hack detected at line 0 - warnings (c:\python24\lib\warnings.pyc)
_______________________________________________ Svnmerge mailing list [email protected] http://www.orcaware.com/mailman/listinfo/svnmerge
