rduplain/flask-mail — Issue #10: Cannot use on Windows
Author: rduplain
Created: 2012-02-29 16:42:55+00:00
State: open
Labels: bug, import

Flask-Mail depends on Lamson, which depends on python-daemon, which is Unix only. Since I don't need a full email server like Lamson, this seems to be an unnecessary restriction.

Windows install log (running under virtualenv):

Downloading/unpacking python-daemon (from Lamson->Flask-Mail)
Downloading python-daemon-1.6.tar.gz (41Kb): 41Kb downloaded
Running setup.py egg_info for package python-daemon
Traceback (most recent call last):
File "", line 14, in
File "c:\Code\pythonenv\build\python-daemon\setup.py", line 22, in

main_module = __import__(main_module_name, fromlist=['version'])
File "daemon\__init__.py", line 43, in
from .daemon import DaemonContext
File "daemon\daemon.py", line 25, in
import resource
ImportError: No module named resource
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 14, in

File "c:\Code\pythonenv\build\python-daemon\setup.py", line 22, in

main_module = __import__(main_module_name, fromlist=['version'])

File "daemon\__init__.py", line 43, in

from .daemon import DaemonContext

File "daemon\daemon.py", line 25, in

import resource

ImportError: No module named resource

----------------------------------------
Command python setup.py egg_info failed with error code 1

---------------------------------------
- Bitbucket: https://bitbucket.org/danjac/flask-mail/issue/10
- Originally Reported By: [ ](http://bitbucket.org/cgcurrie)
- Originally Created At: 2011-09-06 20:26:39