First, the basic configuration of the environment
RHEL7.X python3.6.8 installation pysvn1.8
wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
tar xf Python-3.6.8.tar.xz
cd Python-3.6.8
./configure --prefix=/usr/local/python3.6.8 --enable-optimizations && make && make install
rm -rf /usr/bin/pip3*
rm -rf /usr/bin/python3*
ln -s /usr/local/python3.6.8/bin/python3.6 /usr/bin/python3
ln -s /usr/local/python3.6.8/bin/python3.6 /usr/bin/python3.6
ln -s /usr/local/python3.6.8/bin/pip3.6 /usr/bin/pip
Second, the installation pysvn
wget http://pysvn.barrys-emacs.org/source_kits/pysvn-1.8.0.tar.gz
yum -y install subversion-devel
yum -y install apr-devel
yum -y install apr-util-devel
tar xf pysvn-1.8.0.tar.gz
cd pysvn-1.8.0
cd Builder
sh builder_custom_init.sh 3 6
cd ../Source/
python3 setup.py configure
make
cd ../Tests
make
mkdir -p /usr/local/python3.6.8/lib/python3.6/site-packages/pysvn
cp -rf ../Source/pysvn/_pysvn* /usr/local/python3.6.8/lib/python3.6/site- packages/pysvn
cp -rf ../Source/pysvn/init.py /usr/local/python3.6.8/lib/python3.6/site-packages/pysvn
Third, the exception handling:
Four, windows installation:
http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=1768
carrier corresponding to the address, can be installed directly.
Note python corresponding installation environment.
Successful installation of the list:
http://www.tigris.org/files/nidaba/documents/1233/49613/py36-pysvn-svn197-1.9.6-1961-Win64.exe