title: Pipenv - Short way to install libs from private repos
body: <p>Using pipenv I'd like to install from private repo.</p>
  <p>My <code>Pipfile</code> contents:</p>
  <pre><code>[[source]]
  name = &quot;pypi&quot;
  url = &quot;https://pypi.org/simple&quot;
  verify_ssl = false
  
  [[source]]
  url = &quot;https://$USER:$PASSWORD@my-artifactory.ru/artifactory/api/pypi/my-repo/simple&quot;
  verify_ssl = false
  name = &quot;private&quot;
  trusted-host = &quot;my-artifactory.ru&quot;
  </code></pre>
  <p>Then I install my library <code>my-super-puper-lib</code>:</p>
  <pre><code>pipenv install my-super-puper-lib==0.1.0
  </code></pre>
  <p>and <code>Pipfile</code> is updated with:</p>
  <pre><code>...
  my-super-puper-lib = &quot;==0.1.0&quot;
  </code></pre>
  <p>The lib is being installed but updating <code>Pipfile.lock</code> fails with error:</p>
  <blockquote>
  <p>[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies
  could not be resolved. You likely have a mismatch in your
  sub-dependencies.   You can use $ pipenv install --skip-lock to bypass
  this mechanism, then run $ pipenv graph to inspect the situation.<br />
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
  ERROR: No matching distribution found for my-super-puper-lib==0.1.0</p>
  </blockquote>
  <p>With this error I'm forced to use flag <code>--skip-lock</code>:</p>
  <pre><code>pipenv install my-super-puper-lib==0.1.0 --skip-lock
  </code></pre>
  <p>Then I change in Pipfile line <code>my-super-puper-lib = &quot;==0.1.0&quot;</code> to:</p>
  <pre><code>my-super-puper-lib = {version=&quot;0.1.0&quot;, index=&quot;pp&quot;}
  </code></pre>
  <p>And at last doing changes in Pipfile.lock:</p>
  <pre><code>pipenv lock
  </code></pre>
  <p>Is there shorter way to install libs from private repos in a single command?</p>