Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-10-02 Thread WhisperingWally
Gelonida N gelonida at gmail.com writes:

 I wondered whether some of you have a little more insight into what's 
 going on with PIL.

AFAIK the latest PIL stuff lives here:

hg.effbot.org


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-10-02 Thread Alex Clark

On 2012-10-02 09:26:56 +, WhisperingWally said:


Gelonida N gelonida at gmail.com writes:


I wondered whether some of you have a little more insight into what's
going on with PIL.


AFAIK the latest PIL stuff lives here:

hg.effbot.org



Certainly true, though somewhat meaningless in the current context of 
what's going on with PIL?[1]. The latest Pillow (PIL fork) lives here:


- https://github.com/python-imaging/Pillow

And if folks commit meaningful changes there, we'll get releases out as 
needed. In other words, you are welcome and encouraged to explore all 
your options. And if it helps, you can affect the future of PIL in a 
meaningful way via Pillow.



Alex


[1] The last commit to: http://hg.effbot.org/pil-2009-raclette was in 
2011. Based on that information, the answer would appear to be 
nothing, which is why Pillow exists.



--
Alex Clark · http://aclark.net


--
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-26 Thread Gelonida N

On 09/25/2012 02:42 PM, alex23 wrote:

On Sep 25, 6:25 pm, Gelonida N gelon...@gmail.com wrote:

So it seems to be safe to use either Christoph' binary PIL distribution
or to use Pillow.

The fact, that pillow is accessable via PyPi / easy_install / PIP pushes
me slightly towards pillow.




I assume it's best to uninstall PIL before installing pillow.


I would expect you'd be fine. Being a different package, it's a
different namespace, so they shouldn't conflict.


This is what is confusing me.
if I start with a new python and I just install Pillow, then pillow is 
imported via

import PIL
so it does not seem to have a separate name space

If I had PIL and pillow installed, then I wouldn't even know how to 
choose which one to import.






On a Linux machine:
What would happen in a virtualenv with sitepackages (amonst them PIL
installed and a pillow installed ontop of it?
I don't think I can uninstall PIL, as many distro packages depend on it.
I don't want to create a virtualenv without site packages, as I have
many dependencies and some of them are a little tricky to compile.


Again, you should be fine, as it's in a separate namespace. You
definitely don't want to mess with PIL if you have other dependencies.


Well I'm slightly confused, but will play a little to see what exactly works




--
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-26 Thread alex23
On Sep 27, 7:44 am, Gelonida N gelon...@gmail.com wrote:
 This is what is confusing me.
 if I start with a new python and I just install Pillow, then pillow is
 imported via
 import PIL
 so it does not seem to have a separate name space

 If I had PIL and pillow installed, then I wouldn't even know how to
 choose which one to import.

Ah, I'm so sorry, I totally thought pillow had moved into its own
namespace (but of course that makes no sense if it's to be a drop-in
replacement for PIL).

To be honest, I never rely on the system install of Python to provide
anything, and prefer to use buildout/setup.py to guarantee the
development/installation environment is correct. I suspect (and
hopefully someone with more virtualenv experience will speak up here)
that you'll have to modify your PYTHONPATH within the virtualenv to
point to your local install of pillow before the site packages.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-25 Thread Gelonida N

On 09/25/2012 01:38 AM, alex23 wrote:

On Sep 25, 6:04 am, Gelonida N gelon...@gmail.com wrote:

This all does not sound very comforting. Why is there no fix on the
official site?


Has a bug been logged about the issue?

The Plone community keeps a fairly up-to-date fork called Pillow,
we've had a lot of success using that locally:

http://pypi.python.org/pypi/Pillow/


Thanks for all your answers.

So it seems to be safe to use either Christoph' binary PIL distribution 
or to use Pillow.


The fact, that pillow is accessable via PyPi / easy_install / PIP pushes 
me slightly towards pillow.



I assume it's best to uninstall PIL before installing pillow.


How much would I confuse easy_install / pip in a normal windows
non virutal environment if I didn't uninstall PIP before (or even worse 
if I installed PIL, then pillow and uninstalled then PIL)


(Just anticipating all the smart thigns, that my collegues (or myself) 
might do



On a Linux machine:
What would happen in a virtualenv with sitepackages (amonst them PIL 
installed and a pillow installed ontop of it?

I don't think I can uninstall PIL, as many distro packages depend on it.
I don't want to create a virtualenv without site packages, as I have 
many dependencies and some of them are a little tricky to compile.


--
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-25 Thread alex23
On Sep 25, 6:25 pm, Gelonida N gelon...@gmail.com wrote:
 So it seems to be safe to use either Christoph' binary PIL distribution
 or to use Pillow.

 The fact, that pillow is accessable via PyPi / easy_install / PIP pushes
 me slightly towards pillow.


 I assume it's best to uninstall PIL before installing pillow.

I would expect you'd be fine. Being a different package, it's a
different namespace, so they shouldn't conflict.

 On a Linux machine:
 What would happen in a virtualenv with sitepackages (amonst them PIL
 installed and a pillow installed ontop of it?
 I don't think I can uninstall PIL, as many distro packages depend on it.
 I don't want to create a virtualenv without site packages, as I have
 many dependencies and some of them are a little tricky to compile.

Again, you should be fine, as it's in a separate namespace. You
definitely don't want to mess with PIL if you have other dependencies.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread alex23
On Sep 25, 6:04 am, Gelonida N gelon...@gmail.com wrote:
 This all does not sound very comforting. Why is there no fix on the
 official site?

Has a bug been logged about the issue?

The Plone community keeps a fairly up-to-date fork called Pillow,
we've had a lot of success using that locally:

http://pypi.python.org/pypi/Pillow/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread cjgohlke
On Monday, September 24, 2012 4:38:05 PM UTC-7, alex23 wrote:
 On Sep 25, 6:04 am, Gelonida N gelon...@gmail.com wrote:
 
  This all does not sound very comforting. Why is there no fix on the
 
  official site?
 
 
 
 Has a bug been logged about the issue?
 

See issue #1 at 
http://hg.effbot.org/pil-117/issue/1/windows-build-of-_imagingft-module-fails

Christoph

 
 
 The Plone community keeps a fairly up-to-date fork called Pillow,
 
 we've had a lot of success using that locally:
 
 
 
 http://pypi.python.org/pypi/Pillow/

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread Alex Clark

On 2012-09-24 23:38:05 +, alex23 said:


On Sep 25, 6:04 am, Gelonida N gelon...@gmail.com wrote:

This all does not sound very comforting. Why is there no fix on the
official site?


Has a bug been logged about the issue?

The Plone community keeps a fairly up-to-date fork called Pillow,
we've had a lot of success using that locally:

http://pypi.python.org/pypi/Pillow/



Actually, I started it for the Plone community, but have recently 
broadened the scope (since most of the contributions came from outside 
Plone). It now lives here:


- https://github.com/python-imaging/Pillow


If you have any trouble using it, please open a ticket here:

- https://github.com/python-imaging/Pillow/issues



Alex



--
Alex Clark · http://pythonpackages.com


--
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread alex23
On Sep 25, 6:04 am, Gelonida N gelon...@gmail.com wrote:
 So I'll probably try to install the custom binary, but would like to
 know whether anybody has experience with this
 build.http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil

Sorry, I missed this the first time. I'm using this version
successfully under Windows 7 64-bit. I've had nothing but success with
extensions I've used from that site.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread alex23
On Sep 25, 11:46 am, Alex Clark acl...@aclark.net wrote:
 Actually, I started it for the Plone community, but have recently
 broadened the scope (since most of the contributions came from outside
 Plone).

You're a saint, thanks for taking this on.
-- 
http://mail.python.org/mailman/listinfo/python-list