[prev in list] [next in list] [prev in thread] [next in thread]
List: trac
Subject: [Trac] Passible solution for R H 9 Subversion python bindings ,
From: jaydeeeep () sify ! com
Date: 2005-08-29 13:52:30
Message-ID: 1125321750.43130c16309d7 () mail ! sify ! com
[Download RAW message or body]
This message is in MIME format.
[Attachment #2 (multipart/alternative)]
This message is in MIME format.
hi there ,
for python subversion bindings perhapes the following may help
all used for trac
httpd-2.0.54
Python-2.3.5
clearsilver-0.9.3
sqlite-3.2.2
pysqlite-1.1.6
swig-1.3.21
subversion-1.2.1
trac-0.8.4
diffutils-2.8.1
docutils-0.3.9
APACHE : You should have apache with apxs tool
PYTHON: :
#./configure --prefix=/usr/local/
# make
# make install
CLEARSILVER : :
# ./configure --enable-gettext --with-python=/usr/local/bin/python2.3 --disable-java \
--disable-csharp # make
# make install
(which produces neo_cgi.so inside folder Python/site-packages/ )
SQLITE : :
# tar xvf sqlite-3.2.2.tar # Unpack the source tree into directory \
"sqlite-3.2.2" # mkdir sqlite # Build will occur in a sibling \
directory # cd sqlite #Change to the build directory
# ../sqlite-3.2.2/configure # Run the configure script
# make # Run the makefile.
# make install
PYSQLITE ::
#sudo python setup.py build
#sudo python setup.py install
(I have older installation of Python2.2 , pysqlite produced some files in this folder \
so i moved that to Python2.3/site-packages; specially _sqlite.so)
SWIG : :
# ./configure --with-python=/usr/local/bin/python2.3 (If you want binding for perl \
add perl binary path also) # make && make runtime
# make install && make install-runtime
* To verify you have SWIG installed correctly, check that these things
were created, assuming your $PREFIX was /usr/local:
For SWIG 1.3.19 - 1.3.21:
- /usr/local/bin/swig
- /usr/local/lib/swig1.3/ (containing lots of .i files)
- /usr/local/lib/libswigpy.so (for Python)
- /usr/local/lib/libswigpl.so (for Perl)
In particular, you want to make sure that
libswigpy.so (if you want to use Python) and/or
libswigpl.so (if you want to use Perl) was/were built and installed.
SUBVERSION : :
# ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-ssl \
PYTHON=/usr/local/bin/python2.3 --with-swig=/usr/local/bin/swig # make
# make install
If Subversion's ./configure finds a SWIG that it's happy with, then it will build \
special glue libraries to link svn to the swig bindings: libsvn_swig_py.so (for \
Python) libsvn_swig_perl.so (for Perl)
then run
# make swig-py
# make install-swig-py
It will produce svn-python bindings.( inside svn-python--- libsvn and svn )
A typical location is /usr/local/lib/svn-python/
Make sure that whatever directory the bindings got installed in is in your \
PYTHONPATH. An nice way to do this is:
$ echo /usr/local/lib/svn-python \
> /usr/lib/python2.x/site-packages/subversion.pth
or add it in /etc/ld.so.conf
To Verify that an 'svn' package has been installed correctly try some demo programs. \
From the top of your svn working copy, cd tools/examples/ and try running \
'svnlook.py'.
TRAC : :
# python ./setup.py install --prefix = /some/path
[Attachment #5 (text/html)]
hi there ,
for python subversion bindings perhapes the following may help
all used for trac
httpd-2.0.54
Python-2.3.5
clearsilver-0.9.3
sqlite-3.2.2
pysqlite-1.1.6
swig-1.3.21
subversion-1.2.1
trac-0.8.4
diffutils-2.8.1
docutils-0.3.9
APACHE : You should have apache with apxs tool
PYTHON: :
#./configure --prefix=/usr/local/
# make
# make install
CLEARSILVER : :
# ./configure --enable-gettext --with-python=/usr/local/bin/python2.3 --disable-java \
--disable-csharp # make
# make install
(which produces neo_cgi.so inside folder Python/site-packages/ )
SQLITE : :
# tar xvf sqlite-3.2.2.tar # Unpack the source tree into directory \
"sqlite-3.2.2" # mkdir sqlite # Build will occur in a sibling \
directory # cd sqlite #Change to the build directory
# ../sqlite-3.2.2/configure # Run the configure script
# make # Run the makefile.
# make install
PYSQLITE ::
#sudo python setup.py build
#sudo python setup.py install
(I have older installation of Python2.2 , pysqlite produced some files in this folder \
so i moved that to Python2.3/site-packages; specially _sqlite.so)
SWIG : :
# ./configure --with-python=/usr/local/bin/python2.3 (If you want binding for perl \
add perl binary path also) # make && make runtime
# make install && make install-runtime
* To verify you have SWIG installed correctly, check that these things
were created, assuming your $PREFIX was /usr/local:
For SWIG 1.3.19 - 1.3.21:
- /usr/local/bin/swig
- /usr/local/lib/swig1.3/ (containing lots of .i files)
- /usr/local/lib/libswigpy.so (for Python)
- /usr/local/lib/libswigpl.so (for Perl)
In particular, you want to make sure that
libswigpy.so (if you want to use Python) and/or
libswigpl.so (if you want to use Perl) was/were built and installed.
SUBVERSION : :
# ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-ssl \
PYTHON=/usr/local/bin/python2.3 --with-swig=/usr/local/bin/swig # make
# make install
If Subversion's ./configure finds a SWIG that it's happy with, then it will build \
special glue libraries to link svn to the swig bindings: libsvn_swig_py.so (for \
Python) libsvn_swig_perl.so (for Perl)
then run
# make swig-py
# make install-swig-py
It will produce svn-python bindings.( inside svn-python--- libsvn and svn )
A typical location is /usr/local/lib/svn-python/
Make sure that whatever directory the bindings got installed in is in your \
PYTHONPATH. An nice way to do this is:
$ echo /usr/local/lib/svn-python \
> /usr/lib/python2.x/site-packages/subversion.pth
or add it in /etc/ld.so.conf
To Verify that an 'svn' package has been installed correctly try some demo programs. \
From the top of your svn working copy, cd tools/examples/ and try running \
'svnlook.py'.
TRAC : :
# python ./setup.py install --prefix = /some/path<br><br><BR><A \
HREF="http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/sentmail@Bottom" \
target=_new> <IMG SRC="http://ads.sify.com/RealMedia/ads/adstream_nx.ads/mail.sify.com/sentmail@Bottom" \
width=300 height=40 border=0></a>
_______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic