title: Pip install with pip in requirements
body: <p>I made a package (called "my_package" in the following) that needs minimal versions of pip and setuptools to install. Is it possible to update them during the "pip install my_package" (but not by doing "pip install -U pip" before installing my_package)? I tryied to add them in the requirements but I end with the following exception:</p>
  
  <pre><code>pkg_resources.VersionConflict: (pip 1.5.6 (~/.virtualenvs/test/lib/python2.7/site-packages), Requirement.parse('pip&gt;=9.0.0'))
  </code></pre>
  
  <p>My setup.py is as follow:</p>
  
  <pre><code>from setuptools import setup
  
  package_name = 'my_package'
  
  requires = [
      'pip &gt;= 9.0.0',
      'setuptools &gt;= 36.0.0'
  ]
  
  
  setup(name=package_name,
        author="Me",
        use_scm_version=True,
        packages=[package_name],
        zip_safe=False,
        setup_requires=['setuptools_scm'] + requires,
        install_requires=requires)
  </code></pre>
  
  <p>Thanks</p>
  
  <p><strong>SOLUTION 1:</strong>
  It does not solve my issue but it makes it more explicit to the user:</p>
  
  <pre><code>from pkg_resources import get_distribution, parse_version
  
  if parse_version(get_distribution('pip').version) &lt; parse_version('9.0.0'):
      raise ImportError('The pip version is too old, please update it using the following command: pip install -U pip')
  
  if parse_version(get_distribution('setuptools').version) &lt; parse_version('36.0.0'):
      raise ImportError('The setuptools version is too old, please update it using the following command: pip install -U setuptools')
  </code></pre>