J'ai un paquet AUR qui installe le module python hurry.filesize. Depuis quelques jours le module ne s'installe plus.
A l'origine j'utilisais python setup.py install :
Code : Tout sélectionner
[sebastien@Aquilam hurry.filesize-0.9]$ sudo python setup.py install --root="python-hurry-filesize/" --optimize=1
running install
/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running egg_info
writing src/hurry.filesize.egg-info/PKG-INFO
writing dependency_links to src/hurry.filesize.egg-info/dependency_links.txt
writing namespace_packages to src/hurry.filesize.egg-info/namespace_packages.txt
writing requirements to src/hurry.filesize.egg-info/requires.txt
writing top-level names to src/hurry.filesize.egg-info/top_level.txt
reading manifest file 'src/hurry.filesize.egg-info/SOURCES.txt'
writing manifest file 'src/hurry.filesize.egg-info/SOURCES.txt'
running install_lib
Skipping installation of python-hurry-filesize/usr/lib/python3.10/site-packages/hurry/__init__.py (namespace package)
copying hurry/filesize/__init__.py -> python-hurry-filesize/usr/lib/python3.10/site-packages/hurry/filesize
copying hurry/filesize/tests.py -> python-hurry-filesize/usr/lib/python3.10/site-packages/hurry/filesize
copying hurry/filesize/filesize.py -> python-hurry-filesize/usr/lib/python3.10/site-packages/hurry/filesize
copying hurry/filesize/README.txt -> python-hurry-filesize/usr/lib/python3.10/site-packages/hurry/filesize
writing byte-compilation script '/tmp/tmpar5pk4ta.py'
/usr/bin/python -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpar5pk4ta.py
removing /tmp/tmpar5pk4ta.py
running install_egg_info
removing 'python-hurry-filesize/usr/lib/python3.10/site-packages/hurry.filesize-0.9-py3.10.egg-info' (and everything under it)
Copying src/hurry.filesize.egg-info to python-hurry-filesize/usr/lib/python3.10/site-packages/hurry.filesize-0.9-py3.10.egg-info
Installing python-hurry-filesize/usr/lib/python3.10/site-packages/hurry.filesize-0.9-py3.10-nspkg.pth
running install_scripts
[sebastien@Aquilam hurry.filesize-0.9]$
Code : Tout sélectionner
[sebastien@Aquilam hurry.filesize-0.9]$ sudo python3.10 -m pip install . --root="python-hurry-filesize/" --upgrade
Processing /home/Donnees/sebastien/Téléchargements/hurry.filesize-0.9
Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (from hurry.filesize==0.9) (59.1.1)
Building wheels for collected packages: hurry.filesize
Building wheel for hurry.filesize (setup.py) ... done
Created wheel for hurry.filesize: filename=hurry.filesize-0.9-py3-none-any.whl size=4136 sha256=7738eb343f1898586291d1940afca2c0ceb7906881206c78cb8cc50e09397917
Stored in directory: /root/.cache/pip/wheels/0a/3c/e1/486b0d914a0cde6671b7bb499002d43dfec49ea97c504a20f9
Successfully built hurry.filesize
Installing collected packages: hurry.filesize
Successfully installed hurry.filesize-0.9
Code : Tout sélectionner
[sebastien@Aquilam hurry.filesize-0.9]$ sudo cp -r python-hurry-filesize/usr/lib/python3.10/site-packages/. /usr/lib/python3.10/site-packages/
[sebastien@Aquilam hurry.filesize-0.9]$