Joachim M. Giæver před 4 roky
rodič
revize
484ff16c56
2 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 1 2
      snap/plugins/python_wot_plugin.py
  2. 1 1
      snap/snapcraft.yaml

+ 1 - 2
snap/plugins/python_wot_plugin.py

@@ -16,8 +16,7 @@ for python >= 3.7, see:
 class PluginImpl(plugins.python.PythonPlugin):
     def get_build_commands(self) -> List[str]:
         cmds = super().get_build_commands()
-        cmds.insert(1, 'pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip')
-        print(cmds)
+        # cmds.insert(1, 'pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip')
         for idx, cmd in enumerate(cmds):
             # Find position where to inject pip uninstall
             if cmd.strip().startswith('[ -f setup.py ]'):

+ 1 - 1
snap/snapcraft.yaml

@@ -28,7 +28,7 @@ parts:
     source: https://github.com/home-assistant/core.git
     source-tag: ${SNAPCRAFT_PROJECT_VERSION}
     python-packages:
-      - urllib3[secure]
+      #- urllib3[secure]
       #- setuptools
       - wheel
       - Cython