Re: [PATCH] py2cairo: Add a setup.py file back

Simon Sapin <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Le 08/12/2012 11:21, Simon Sapin a écrit :
> Hi,
>
> py2cairo used to be installable with distutils but the setup.py file was
> just removed just before the 1.10.0 release, for reasons unknown to me.
> The same file was more recently added back to pycairo for Python 3, but
> that change is still unreleased.
>
> The patch below add the setup.py file back to py2cairo. Please consider
> merging it, making new releases for both py2cairo and pycairo, and
> registering py2cairo in the Python Package Index. (Just linking to
> http://cairographics.org/pycairo  is enough so that setuptools/pip can
> manage to find the release tarballs.)
>
> Installing with distutils really helps to integrate with pip,
> virtualenv, and many other tools in the Python ecosystem. Right now
> users have to do crazy hacks to use pycairo with virtualenv’s
> --no-site-packages isolation:
>
> http://stackoverflow.com/questions/11491268/install-pycairo-in-virtualenv/13279739
>
> Hopefully in the near future, users can just run "pip install py2cairo"
> in a virtualenv; projects like WeasyPrint and CairoSVG can add 'pycairo'
> to the install_requires line of their own setup.py file: everything will
> Just Work®.

It seems that my email client messed up the whitespace in the previous 
email’s patch. It is also available here:

Raw patch:
https://github.com/SimonSapin/py2cairo/commit/314f0d380e.patch

Web interface:
https://github.com/SimonSapin/py2cairo/commit/314f0d380e

Cheers,
-- 
Simon Sapin
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.