Re: Python wheel modules

Geoff Adams <[email protected]> Mon, 25 Jan 2016 18:50:22 -0500
Newsgroups gmane.text.yaml.general
Message-ID <CA+n7TG_2kiTd14aDqqvVVZzdRCM_ocmbOrD0NtCjLJ43DSRkjg@mail.gmail.com>
Hello Mario,

I think this would be a valuable addition.

The developer of PyYAML is Kirill Simonov, who seems to have gone quiet
regarding the module in the last few years; although the PyYAML website
still lists this list as the preferred point of contact, I have not seen
him respond to messages about PyYAML here for a long time.  I believe the
module is no longer under active development.  You can try submitting a
pull request with your patch on BitBucket (https://bitbucket.org/xi/pyyaml)
which is where I believe the "official" development has moved, but it does
not seem any pull requests have been approved there since the repository
was established.  You could also try emailing him directly via the email
address given in the README in the BitBucket repository.

However, it seems there is also a fork of PyYAML, "ruamel.yaml" (
https://pypi.python.org/pypi/ruamel.yaml on PyPI), which has been under
active development for the past year or so; you may be interested in
looking into that as well.  I only just discovered it myself (your question
prompted me to look) so I don't know much about it, but it looks like it
may already have Python wheel support, as well as support for YAML 1.2,
which as far as I know PyYAML lacks.

Regards,
Geoff

On Fri, Jan 22, 2016 at 12:42 PM, Mario Gonzalez <
[email protected]> wrote:

> Hello again,
>
> Do you think this is doable?
> Thanks in advance for your comments.
>
> On 11/12/15 16:11, Mario Gonzalez wrote:
> > Hello there, I'm new here,
> >
> > We started to create a "wheel" package for pyyaml and we realize that in
> > terms of packaging and distribution, the project is using distutils. I'm
> > sending a small patch to allow the creation of .whl files, which is a
> > binary distribution with the C extensions compiled already.
> >
> > This helps in terms of reducing the time to just compile once but
> > install in many places, and also, in those many places, you don't need
> > any development headers not tools.
> >
> > Do you think we can include this in the next versions?
> > Thanks in advance for your coments!
> >
> > (I didn't know if this list accepts attachments, sorry for the noise)
> > diff -r ddf211a41bb2 setup.py
> > --- a/setup.py  Fri Nov 28 11:53:36 2014 -0600
> > +++ b/setup.py  Fri Dec 11 19:00:07 2015 +0000
> > @@ -59,8 +59,15 @@
> >
> >    import sys, os.path
> >
> > +# Importing setuptools will allow to create python wheels and provides
> > +# the 'bdist_wheel' command.
> > +try:
> > +    from setuptools import setup
> > +except ImportError:
> > +    from distutils import setup
> > +
> >    from distutils import log
> > -from distutils.core import setup, Command
> > +from distutils.core import Command
> >    from distutils.core import Distribution as _Distribution
> >    from distutils.core import Extension as _Extension
> >    from distutils.dir_util import mkpath
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Yaml-core mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/yaml-core
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Yaml-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/yaml-core
>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core