Open GoogleCodeExporter opened 9 years ago
Nevermind, I changed XD3_POSIX to XD3_WIN32 in setup.py after looking through
xdelta3-main.h for a little while and it installed correctly. I noticed that the
script already has get_platform imported from distutils; four lines before
setting up
the extension could be used to make the setup more easily distributed:
if get_platform() == 'win32':
platform = 'XD3_WIN32'
else:
platform = 'XD3_POSIX' # xdelta3-main.h defaults to posix
followed by changing ('XD3_POSIX',1) to (platform,1).
Original comment by uNsanity...@gmail.com
on 7 Nov 2009 at 6:26
Attachments:
There's probably a more appropriate place for this, but I also took care of the
todo
in xdelta3-python.h by changing ps = PyString_AsString (s); to if ((ps =
PyString_AsString (s)) == NULL) {goto cleanup; }.
Original comment by uNsanity...@gmail.com
on 7 Nov 2009 at 6:54
Attachments:
I've removed xdelta3-python.h and am now relying on the swig module, since it
is less to maintain. The current release (3.0.1) uses automake-generated
installation rules and I've been able to install and run xdelta3-test.py.
However, this is still an area of trouble, installing and testing the python
module.
Original comment by josh.mac...@gmail.com
on 18 Jun 2012 at 11:31
Original issue reported on code.google.com by
uNsanity...@gmail.com
on 7 Nov 2009 at 3:49