Package build is failing with --extra-index-url in the requirements.txt #3688
-
Hi there, I am trying to build a private pypi package using Gitlab with setuptools for one of our internal projects. My requirement.txt is as follows:
in setup.py, I have added install_requires as below:
But package build is failing with below error:
Can anyone help me how to achieve this package build. Thanks in Advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @pranayvooredi-tec, please note that this is intentionally not supported by I also believe that PyPI will not let you submit a package that uses dependencies in private indexes or 3rd party websites |
Beta Was this translation helpful? Give feedback.
Hi @pranayvooredi-tec, please note that this is intentionally not supported by
setuptools
. All dependency strings must follow the syntax specified in PEP 508, which implies nopip
-specific command line options.I also believe that PyPI will not let you submit a package that uses dependencies in private indexes or 3rd party websites