From d86d3ce4a72d6699ae5e82c4f78bc9545da9eac4 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Tue, 6 Mar 2018 09:30:03 +0100 Subject: [PATCH] setup.py: fix pyxdg requirement xdg is declaring itself as pyxdg. Detected when installing through flatpak. It tries installing 'xdg' through pip while we already manually installed it: Processing dependencies for tuhi==0.1 Searching for xdg Reading https://pypi.python.org/simple/xdg/ Download error on https://pypi.python.org/simple/xdg/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Couldn't find index page for 'xdg' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! No local packages or working download links found for xdg error: Could not find suitable distribution for Requirement.parse('xdg') Error: module tuhi: Child process exited with code 1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c014a6f..3422967 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup(name='tuhi', python_requires='>=3.6', install_requires=[ 'svgwrite', - 'xdg', + 'pyxdg', 'pygobject', ] )