Determining "file system encoding" from Python

2020-06-29 Thread Manuel Jacob
Hi, In a Python application, I want to convert a path (as native Unix bytes) to a file URL (and later probably also other paths between the "file system encoding" and UTF-8). There are functions for this in the Subversion binding. However, for the sake of being able to deal with the familiar

Re: Determining "file system encoding" from Python

2020-06-29 Thread Manuel Jacob
On 2020-06-29 12:11, Manuel Jacob wrote: Hi, In a Python application, I want to convert a path (as native Unix bytes) to a file URL (and later probably also other paths between the "file system encoding" and UTF-8). There are functions for this in the Subversion binding. However, fo

Re: "make clean-swig-py" doesn't remove generated Python 3-specific SWIGfiles

2020-06-17 Thread Manuel Jacob
On 2020-06-17 19:50, Yasuhito FUTATSUKI wrote: Hi, In article <512bc3500837462de9542731a9af4...@manueljacob.de> m...@manueljacob.de writes: I tried to build SVN with bindings for Python 2. I followed the instructions, but it didn't work: You need to rebuild build-outputs.mk and configure scr

"make clean-swig-py" doesn't remove generated Python 3-specific SWIG files

2020-06-17 Thread Manuel Jacob
I tried to build SVN with bindings for Python 2. I followed the instructions, but it didn't work: # Step 1 of subversion/bindings/swig/INSTALL # ... I installed SWIG 2 and passed --with-python=/usr/bin/python2.7 to ./configure. tar xaf ~/Downloads/subversion-1.14.0.tar.bz2 cd subversion-1.14.0