rpatterson / httpd-echo

A Simple Python HTTP server that echos the request in the response
6 stars 3 forks source link

`httpdecho.py` missing from pipy #1

Open eberbis opened 7 years ago

eberbis commented 7 years ago

It seems that installing the library using pip, the file httpecho.py is missing after the setup.py is run. It works perfectly when cloning the repo on my local, so I'm inclined to think that perhaps the file missing from PyPI tar?

Thanks for the work, it looks useful!

gwerbin commented 3 years ago

setup.py contains packages=find_packages(), but it should contain py_modules=['httpdecho']. It's fixed in the PR: https://github.com/rpatterson/httpd-echo/pull/2/commits/c8846550315341049373a3ffc09300d9a2a5b820

sohang3112 commented 1 year ago

I am also having this issue - after doing pip install httpd-echo, running with python -m httpdecho fails with error Module not found