pediapress / mwlib

mediawiki parser library
103 stars 35 forks source link

Clean setup.py for easier installation #21

Closed jnothman closed 12 years ago

jnothman commented 12 years ago

Adds cython and PIL as dependencies, and moves `make' execution to after dependency checking.

This reduces the unspecified (and non-PyPI) dependencies to install mwlib (on a fairly new ubuntu installation, only re2c, libxslt1-dev, libxml2-dev and libevent-dev were required).

schmir commented 12 years ago

thanks, but there are a number of problems with this patch:

Note: you also need some more header files installed in order to have a fully working PIL installation. see mwlib.readthedocs.org for more information.

jnothman commented 12 years ago

Okay. Now I understand that the issue is not whether PIL installs with pip, but whether it installs with all necessary flags. I had wondered whether that was the case, but had not found the readthedocs material (I had been working well behind HEAD). For my application, I don't require mwlib's use of PIL, only that our modified parser may be deployed with minimal fuss.

Thanks for the clarification.