Code Monkey home page Code Monkey logo

Comments (5)

offero avatar offero commented on July 19, 2024

I second this. I need to generate wheels as well instead of just downloading tar.gz files.

from pip2pi.

wolever avatar wolever commented on July 19, 2024

That would be awesome!

Unfortunately I don't know off the top of my head how to do this… but if you can make suggestions I'd be more than happy to investigate them!

from pip2pi.

colinhoglund avatar colinhoglund commented on July 19, 2024

I added the --build-wheels option to pip2tgz and pip2pi in my fork master...colinhoglund:master.

When this option is enabled it simply runs pip wheel on the passed in packages. This is not terribly efficient since the command pip2pi /tmp/packages some_package -w -z would make three different calls to pip. However, any alternative would likely break existing functionality.

Also, adding this functionality makes the entry_point pip2tgz somewhat confusing (since it can also build wheels), but changing that also has compatibility implications.

I'd appreciate any feedback/recommendations. Also, let me know if this looks useful and I can submit a PR.

from pip2pi.

jayvdb avatar jayvdb commented on July 19, 2024

This would be very handy; has anyone looked at #65 to see if it is save-able.

from pip2pi.

colinhoglund avatar colinhoglund commented on July 19, 2024

This would be very handy; has anyone looked at #65 to see if it is save-able.

Happy to reopen if the maintainers are interested in merging. However, I am no longer using this code as I ended up writing my own tool that separates the concern of building the package index and relies on pip itself to handle package building.

from pip2pi.

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.