python - Does pip install work with single module projects? -


i refactored python project single top-level module rather package.

however, pip install not work anymore: error says:

(forcelib_test) c:\code>pip install git+https://github.com/blokeley/forcelib collecting git+https://github.com/blokeley/forcelib   cloning https://github.com/blokeley/forcelib c:\users\tomoak~1\appdata\local\temp\pip-t10zegic-build     complete output 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 pip-egg-info\forcelib.egg-info\dependency_links.txt     writing requirements pip-egg-info\forcelib.egg-info\requires.txt     writing top-level names 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' not exist 

i'm not trying install package called forcelib, module. setup.py script correctly uses py_modules argument rather packages.

is possible install single module or have revert using package?

note: this question different problem. want install additional text file. want install single python module. in fact, question implies i'm trying should work without error got

i needed use

 py_modules=['forcelib'] 

rather had was

py_modules=['forcelib.py'] 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -