title: pip install package from Artifactory and install dependencies from PyPI
body: <p>I have a package that I am trying to install from Artifactory by running the following command</p>
  
  <pre><code>pip install package_name -i http://artifactory.XYZ.com/artifactory/api/pypi/XYZ-py-local/simple --trusted-host artifactory.XYZ.com
  </code></pre>
  
  <p>the package is downloaded fine. However when it comes to finding the dependencies it throws an exception because I don't have a PyPI remote repo in Artifactory. </p>
  
  <p>Is it possible to point pip to PyPI for specific dependencies?</p>
  
  <p>I'm using a <code>pyproject.toml</code> to store the requirements as I'm using poetry top handle dependencies and build the package. </p>