[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ctypes-python bindings are now integrated into the Subversion build infrastructure

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: Thu, 2 Oct 2008 21:28:02 -0600

Hi all,
    As of r33409, you can now build, test and install the
ctypes-python bindings using the standard build tools (configure and
make) used to build the rest of Subversion. Here is a brief summary
of the things you'll need to know if you're interested:

New Make Targets
ctypes-python: This target will build the ctypes-python bindings.
check-ctypes-python: This target will run the test suite for the
ctypes-python bindings.
install-ctypes-python: This target will install the ctypes-python
bindings into the same location that Subversion is installed using
Python conventions for the location of the Python packages.
clean-ctypes-python: This target will clean up all build artifacts
related to building the ctypes-python bindings.

(The ctypes-python bindings can also be cleaned using the 'clean' and
'extraclean' make targets.)

1) You will need to download ctypesgen. The easiest way to do this is
to checkout the ctypesgen project using the following: svn co
http://ctypesgen.googlecode.com/svn/trunk ctypesgen
2) When configuring Subversion, you either need to pass the
--with-ctypesgen flag with it pointing to the dir you just created in
the step above, or you need to add the directory created above to your
PATH environment variable. Just like with other Subversion deps, if
ctypesgen is not found during configure, you'll have to rerun
configure once you have ctypesgen.
3) Before you can build, test and install the ctypes-python bindings,
you must compile and install Subversion. (This is something we are
working on right now to fix. More information below.)

    While the ctypes-python bindings are now integrated into the
Subversion build process, there is still some work to be done. As it
stands now, to build, test and install the ctypes-python bindings, you
first have to install Subversion with 'make install'. We are
currently working on updating the ctypes-python installer to allow for
building and testing against the locally built Subversion instead of
requiring an install of Subversion. The reason we are taking this
iterative approach is to get something out to the community sooner
rather than later. This "shortcoming" does not make the bindings any
less usable so please feel free to play around with the new
ctypes-python bindings and report any questions, comments and concerns
to dev_at_subversion.tigris.org. For more information on building,
testing and installing the ctypes-python bindings, please read

Take care,
Jeremy Whitlock
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-03 05:28:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.