瀏覽代碼

Merge pull request #34 from anki-code/patch-3

Fix: Running pip as root
Valentin 4 年之前
父節點
當前提交
51394820ff
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      python_appimage/commands/build/app.py

+ 2 - 1
python_appimage/commands/build/app.py

@@ -233,7 +233,8 @@ def execute(appdir, name=None, python_version=None, linux_tag=None,
 
             deprecation = (
                 'DEPRECATION: Python 2.7 reached the end of its life',
-                'DEPRECATION: Python 3.5 reached the end of its life'
+                'DEPRECATION: Python 3.5 reached the end of its life',
+                'WARNING: Running pip as root'
             )
 
             system(('./AppDir/AppRun', '-m', 'pip', 'install', '-U', in_tree_build,