Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Pillow does not get installed. #54

Closed
garbas opened this issue Jul 20, 2016 · 5 comments
Closed

Pillow does not get installed. #54

garbas opened this issue Jul 20, 2016 · 5 comments
Milestone

Comments

@garbas
Copy link
Contributor

garbas commented Jul 20, 2016

example requirements.txt to reproduce this

Flask-Holster>=0.3.4
Flask-Login>=0.2.7
Flask-SQLAlchemy
Flask-Uploads
Flask-WTF>=0.9.0
Flask>=0.10
Parsley
Pillow
PyRSS2Gen>=1.0
PyYAML
Unidecode
WTForms>=1.0.5
betterpath
python-dateutil
Twisted

@garbas garbas modified the milestone: 1.3.0 Jul 23, 2016
@garbas
Copy link
Contributor Author

garbas commented Jul 24, 2016

i've fixed pillow in custom branch so that its setup.py will try to resolve paths using pkg-config
for now you can put https://github.com/garbas/Pillow/archive/pkg-config.tar.gz#egg=Pillow in your requirements.txt

@garbas garbas closed this as completed Jul 24, 2016
@teh
Copy link
Member

teh commented Feb 10, 2017

I don't think us constantly patching pillow is a great solution so I'd like to re-open this. I can think of a few solutions:

  1. Upstream better pkg-config support (preferred)
  2. Allow pypi2nix to override requirements.txt with a package from nixpkgs

What do you think?

@garbas
Copy link
Contributor Author

garbas commented Feb 10, 2017

in requirements.txt you can already point to custom sources of packages, this can serve as an intermediate solution, as I did above in a comment.

I submitted the PR and after few ping/pong comments it got merged
python-pillow/Pillow#2074

As you said, preferred option is always to fix it upstream.

@teh
Copy link
Member

teh commented Feb 10, 2017

Ah cool, thanks! This should be in 4.0.0 so I'm not sure why things still aren't working. I'll investigate

@garbas
Copy link
Contributor Author

garbas commented Feb 10, 2017

@teh I have added a pillow example to pypi2nix f1d9e52 ... and if something breaks we will know. For now, I am only building for Linux it takes a bit too much effort to set this up for osx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants