Re: Python wheel modules

Mario Gonzalez <[email protected]> Fri, 22 Jan 2016 14:42:13 -0300
Newsgroups gmane.text.yaml.general
Organization Oracle corp
Message-ID <[email protected]>
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