title: Does pip install work with single module projects?
body: <p>I just refactored my <a href="https://github.com/blokeley/forcelib" rel="nofollow noreferrer">Python project</a> to be a single top-level module rather than a package.</p>
  
  <p>However, pip install does not work anymore:  I get an error which says:</p>
  
  <pre><code>(forcelib_test) C:\code&gt;pip install git+https://github.com/blokeley/forcelib
  Collecting git+https://github.com/blokeley/forcelib
    Cloning https://github.com/blokeley/forcelib to c:\users\tomoak~1\appdata\local\temp\pip-t10zegic-build
      Complete output from command python setup.py egg_info:
      running egg_info
      creating pip-egg-info\forcelib.egg-info
      writing pip-egg-info\forcelib.egg-info\PKG-INFO
      writing dependency_links to pip-egg-info\forcelib.egg-info\dependency_links.txt
      writing requirements to pip-egg-info\forcelib.egg-info\requires.txt
      writing top-level names to pip-egg-info\forcelib.egg-info\top_level.txt
      writing manifest file 'pip-egg-info\forcelib.egg-info\SOURCES.txt'
      warning: manifest_maker: standard file '-c' not found
  
      error: package directory 'forcelib' does not exist
  </code></pre>
  
  <p>I'm not trying to install a <em>package</em> called forcelib, only a module.  The <a href="https://github.com/blokeley/forcelib/blob/master/setup.py" rel="nofollow noreferrer">setup.py</a> script correctly uses the <code>py_modules</code> argument rather than <code>packages</code>.</p>
  
  <p>Is it possible to install a single module or do I have to revert to using a package?</p>
  
  <p>Note: <a href="https://stackoverflow.com/questions/12461603/setting-up-setup-py-for-packaging-of-a-single-py-file-and-a-single-data-file-wi">this question</a> is about a different problem. They want to install an additional text file. I just want to install the single Python module. In fact, that question implies that what I'm trying to do should work without the error I got </p>