Formerly with setuptools, a Python dependency that needed to be installed from an extra index URL could just be added to dependency_links. Example from the answer here:
from setuptools import setup
setup(
name='somepackage',
install_requires=[
'somedep'
],
dependency_links=[
'https://pypi.example.org/pypi/somedep/'
]
# ...
)
But now that dependency_links is ignored, how do I install a package from a different index url with setuptools? The docs basically say to use VCS or dependency_links, but I'm unable to use the former and the latter doesn't work anymore.
pipcommand line, environment variables or configuration files. You cannot list them insetup.py.dependency_linksdoes not exist, it is now considered as somewhat of a "misfeature", and nowadays the user doing the install should be in charge of choosing the indexes, and not the creator of the package.