mk-fg / pretty-yaml

PyYAML-based module to produce a bit more pretty and readable YAML-serialized data
Do What The F*ck You Want To Public License
135 stars 29 forks source link

allow the building of universal wheels #15

Closed graingert closed 7 years ago

graingert commented 9 years ago

Distribute using:

python setup.py sdist bdist_wheel register upload

mk-fg commented 9 years ago

Thanks.

I did want to start using wheels for this project and others, but never made it to the first "educate myself about what wheels are and how to use them" step so far. I'll try to fix that gap first and then will merge the change, as I'd rather know about what I'm doing here first.

tdruez commented 8 years ago

+1, a wheel would be nice ;)

graingert commented 8 years ago

@mk-fg It's been a while...

mk-fg commented 8 years ago

Yeah, and I still haven't got around to learning anything about python wheels, how they work, what kind of PKI setup they need and why they even matter...

Possible options:

I do realize it's rather trivial task though, will try to fix soonish, thanks for reminder, and sorry that it's that bad.

graingert commented 8 years ago

how they work

It's a zip file, with a JSON file that contains everything that the setup.py used to generate it contained.

what kind of PKI setup they need

None, they don't need any new PKI setup. If you've got package signing setup for your sdist bdist_wheel will pick it up.

and why they even matter...

They are a lot faster to install and run, (no sdist step, easier to cache, pregenerated pyc files etc.)

graingert commented 8 years ago

@mk-fg see http://pythonwheels.com/ for more info

mk-fg commented 7 years ago

Seem to work, and is very easy indeed, will try to not forget bdist_wheel on updates, if any.

Thanks for the tips and pointing out the issue. Sorry that it took such unreasonably long time.

tdruez commented 7 years ago

@mk-fg That's great, thanks :)