aio-libs / aiohttp-devtools

dev tools for aiohttp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'aiohttp_devtools.runserver'

FraBle opened this issue · comments

Trace:

>> adev runserver server.py make_app
Traceback (most recent call last):
  File "/Users/<user>/.virtualenvs/<project>/bin/adev", line 7, in <module>
    from aiohttp_devtools.cli import cli
  File "/Users/<user>/.virtualenvs/<project>/lib/python3.5/site-packages/aiohttp_devtools/cli.py", line 3, in <module>
    from .runserver.logs import setup_logging
ImportError: No module named 'aiohttp_devtools.runserver'

Thanks for reporting this. I had been running aiohttp-devtools myself after installing with pip install -e . so hadn't noticed I'd forgotten to update packages in setup.py.

I've fixed this and started work on tests, while they're not complete they should prevent something like this going wrong again.

No problem at all! I'm looking forward to use this tool for our projects! Did you update pypi as well?

Just updated pypi now.