[mezzanine-users] Why is PIL/Pillow not a dependency?

2014-02-12 Thread Eduardo Rivas
Hi everyone. Every time I try to create a new project with some initial data I run: python manage.py createdb --noinput Which fails with the following error: django.core.exceptions.ImproperlyConfigured: Neither Pillow nor PIL could be imported: No module named Image That is very explicit and

Re: [mezzanine-users] Why is PIL/Pillow not a dependency?

2014-02-12 Thread Stephen McDonald
Pillow should get installed automatically if neither are available: https://github.com/stephenmcd/mezzanine/blob/master/setup.py#L37-L45 On Thu, Feb 13, 2014 at 7:12 AM, Eduardo Rivas jerivasmel...@gmail.comwrote: Hi everyone. Every time I try to create a new project with some initial data I

[mezzanine-users] Re: Why is PIL/Pillow not a dependency?

2014-02-12 Thread Matt Stevenson
I can confirm that installing via pip does indeed fail. However, running `python setup.py install` does successfully append the `pillow` requirement: https://dpaste.de/obE1 -- and proceeds to install successfully (along with a `python manage.py createdb --install` also working fine). Does

Re: [mezzanine-users] Why is PIL/Pillow not a dependency?

2014-02-12 Thread Stephen McDonald
I can't reproduce it and pillow installs each time for me - although I don't use virtualenvwrapper: $ virtualenv --distribute foo On Thu, Feb 13, 2014 at 7:44 AM, Eduardo Rivas jerivasmel...@gmail.comwrote: I tried it in a blank venv: mkvirtualenv foobar pip install mezzanine cartridge

Re: [mezzanine-users] Why is PIL/Pillow not a dependency?

2014-02-12 Thread Stephen McDonald
Looks like my stuff is really out of date which might explain the difference: (lol2) $ pip --version pip 1.0.2 from /Users/steve/dev/lol2/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg (python 2.7) (lol2) $ deactivate $ pip --version pip 1.1 from /Library/Python/2.7/site-packages (python 2.7) $

Re: [mezzanine-users] Why is PIL/Pillow not a dependency?

2014-02-12 Thread Tzu-ping Chung
The wheel bundler runs setup.py on the bundler's machine, and then archive the result with static lists of dependencies. pip doesn't run setup.py at all when it installs a wheel (the .whl archive doesn't even contain that file); all it does is unarchive and copy the files. Dynamic requirement