Git Product home page Git Product logo

Comments (7)

roidrage avatar roidrage commented on August 24, 2024

Just to make sure I get it right, it should be bdist_wheels instead of just bdist?

from dpl.

kimmobrunfeldt avatar kimmobrunfeldt commented on August 24, 2024

I think so. At least this code says so.

from dpl.

kimmobrunfeldt avatar kimmobrunfeldt commented on August 24, 2024

Oh, I have a typo in the issue description. It should be bdist_wheel instead of bdist_wheels

from dpl.

BanzaiMan avatar BanzaiMan commented on August 24, 2024

http://guide.python-distribute.org/contributing.html seems to say that bdist is OK. Am I missing something? Granted, I am not familiar with the Python ecosystem.

from dpl.

kimmobrunfeldt avatar kimmobrunfeldt commented on August 24, 2024

This is quite confusing.

According to these docs:

It should be bdist_wheel

from dpl.

Jc2k avatar Jc2k commented on August 24, 2024

Hello.

These days, bdist_wheel is preferred to bdist. However the default should just be to upload sdists. Anything extra should be a devs choice.

bdist_wheel produces a .whl and is good for pure python packages, but problematic for packages with extensions modules. See the third paragraph of "What are wheels": http://lucumr.pocoo.org/2014/1/27/python-on-wheels/.

bdist_egg produces a .egg. This is an older format that wheels. Pypi supports both, but pypa (the group of devs behind pypi/pip/virtualenv) strongly advocate wheels over eggs.

bdist produces a .tar.gz. (With --formats it can produce quite a few different formats...).

The bdist/bdist_wheel family of builds is more useful on Mac or Windows machines, where it can be more awkward to get a fully functional toolchain. You can ship precompiled binary extensions easily.

from dpl.

kimmobrunfeldt avatar kimmobrunfeldt commented on August 24, 2024

Thanks for clearing it up!

from dpl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.