On Monday, January 3, 2022 at 6:15:53 AM UTC+8, Marco Sulla wrote:
> https://askubuntu.com/questions/584857/distutilsextra-problem

I found its Git repository using the following method:

$ for i in python-distutils-extra python3-distutils-extra; do apt showsrc $i |& 
grep git; done | sort -u
Vcs-Git: https://salsa.debian.org/python-team/modules/python-distutils-extra.git

Therefore, for developers, the more robust and reasonable pdfarranger 
installation steps should be as follows:

#https://github.com/pdfarranger/pdfarranger#install-from-source
$ sudo apt install gir1.2-gtk-3.0 gir1.2-poppler-0.18 
$ git clone https://github.com/pdfarranger/pdfarranger.git pdfarranger.git 
$ cd pdfarranger.git 
$ pyenv shell 3.8.3
$ pyenv virtualenv --system-site-packages pdfarranger
$ pyenv shell pdfarranger 
$ pip install -U pip
$ pip install 
git+https://salsa.debian.org/python-team/modules/python-distutils-extra.git
$ pip install img2pdf pygobject
$ pip install .

Another note: the python-distutils-extra or python3-distutils-extra is only a 
dependency in the installation process, once the package is installed, it will 
no longer be needed.

For a more detailed discussion, please see here [1].

[1] 
https://github.com/pdfarranger/pdfarranger/issues/604#issuecomment-1003801361

Regards,
HZ
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to