Пытаюсь протестировать редактируемые установки и не знаю, как интерпретировать результаты.
Я намеренно допустил опечатку в разделе egg=, но все равно смог найти яйцо без моей помощи:
root@6be8ee41b6c9:/# pip3 install -e git+https://gitlab.com/jame/clientapp.git
Could not detect requirement name for 'git+https://gitlab.com/jame/clientapp.git', please specify one with #egg=your_package_name
root@6be8ee41b6c9:/# pip3 install -e git+https://gitlab.com/jame/clientapp.git#egg=
Could not detect requirement name for 'git+https://gitlab.com/jame/clientapp.git#egg=', please specify one with #egg=your_package_name
root@6be8ee41b6c9:/# pip3 install -e git+https://gitlab.com/jame/clientapp.git#egg=e
Obtaining e from git+https://gitlab.com/jame/clientapp.git#egg=e
Cloning https://gitlab.com/jame/clientapp.git to /src/e
Running setup.py (path:/src/e/setup.py) egg_info for package e produced metadata for project name clientapp. Fix your #egg=e fragments.
Installing collected packages: clientapp
Found existing installation: ClientApp 0.7
Can't uninstall 'ClientApp'. No files were found to uninstall.
Running setup.py develop for clientapp
Successfully installed clientapp
root@6be8ee41b6c9:/# pip3 freeze
asn1crypto==0.24.0
-e git+https://gitlab.com/jame/clientapp.git@5158712c426ce74613215e61cab8c21c7064105c#egg=ClientApp
cryptography==2.6.1
entrypoints==0.3
keyring==17.1.1
keyrings.alt==3.1.1
pycrypto==2.6.1
PyGObject==3.30.4
pyxdg==0.25
SecretStorage==2.3.1
six==1.12.0
Итак, если я мог так сильно испортить имя яйца, почему считается ошибкой оставить его пустым или установить что-то пустое?
Пытаюсь протестировать редактируемые установки и не знаю, как интерпретировать результаты. Я намеренно допустил опечатку в разделе egg=, но все равно смог найти яйцо без моей помощи: [code]root@6be8ee41b6c9:/# pip3 install -e git+https://gitlab.com/jame/clientapp.git Could not detect requirement name for 'git+https://gitlab.com/jame/clientapp.git', please specify one with #egg=your_package_name
root@6be8ee41b6c9:/# pip3 install -e git+https://gitlab.com/jame/clientapp.git#egg= Could not detect requirement name for 'git+https://gitlab.com/jame/clientapp.git#egg=', please specify one with #egg=your_package_name
root@6be8ee41b6c9:/# pip3 install -e git+https://gitlab.com/jame/clientapp.git#egg=e Obtaining e from git+https://gitlab.com/jame/clientapp.git#egg=e Cloning https://gitlab.com/jame/clientapp.git to /src/e Running setup.py (path:/src/e/setup.py) egg_info for package e produced metadata for project name clientapp. Fix your #egg=e fragments. Installing collected packages: clientapp Found existing installation: ClientApp 0.7 Can't uninstall 'ClientApp'. No files were found to uninstall. Running setup.py develop for clientapp Successfully installed clientapp
root@6be8ee41b6c9:/# pip3 freeze asn1crypto==0.24.0 -e git+https://gitlab.com/jame/clientapp.git@5158712c426ce74613215e61cab8c21c7064105c#egg=ClientApp cryptography==2.6.1 entrypoints==0.3 keyring==17.1.1 keyrings.alt==3.1.1 pycrypto==2.6.1 PyGObject==3.30.4 pyxdg==0.25 SecretStorage==2.3.1 six==1.12.0 [/code] Итак, если я мог так сильно испортить имя яйца, почему считается ошибкой оставить его пустым или установить что-то пустое?