title: How to fix ".dist-info directory not found" in my package?
body: <p>I have a Python 2 package that I'm trying to upgrade to Python 3.  It was written by someone who used to work on the same team I'm on now but who is no longer with the company, and unfortunately nobody left on the team is able to help out.</p>
  
  <p>After running 2to3 on the files of the package, I ran <code>python setup.py sdist</code> to create a package, placed the package in a local repository, then attempted to use <code>pip install</code> to install the package.  It ended up erroring out with the following:</p>
  
  <pre><code>Exception:
  Traceback (most recent call last):
    File "/home/user/project/lib/python3.5/site-packages/pip/basecommand.py", line 223, in main
      status = self.run(options, args)
    File "/home/user/project/lib/python3.5/site-packages/pip/commands/install.py", line 297, in run
      root=options.root_path,
    File "/home/user/project/lib/python3.5/site-packages/pip/req/req_set.py", line 622, in install
      **kwargs
    File "/home/user/project/lib/python3.5/site-packages/pip/req/req_install.py", line 808, in install
      self.move_wheel_files(self.source_dir, root=root)
    File "/home/user/project/lib/python3.5/site-packages/pip/req/req_install.py", line 1003, in move_wheel_files
      isolated=self.isolated,
    File "/home/user/project/lib/python3.5/site-packages/pip/wheel.py", line 340, in move_wheel_files
      assert info_dir, "%s .dist-info directory not found" % req
  AssertionError: my-package-name .dist-info directory not found
  </code></pre>
  
  <p>The old Python 2 version of the package didn't have anything called <code>.dist-info</code> in the .tgz archive, and it installed just fine.  Does anyone know what's going on here and how to fix it?</p>