Option to vendor dependencies to easy bootstrapping
See original GitHub issueWould it be possible to have a version of build which vendors its dependencies?
The bootstrap cycle isn’t fun and I’m trying to reduce the number of recipes that we have to build by hand. We’ve a generic ‘pep 517’ building class that uses build
and installer
but obviously that leads to dependency cycles involving build, installer, pep517, tomli.
I’ve actually bitten the bullet and written a minimal clone of build that vendors pep517 and tomli as a prototype, and considering our scope is smaller (no isolated builds are needed) it’s almost fully functional at 58 lines.
However, I’d prefer not to maintain code. A build
which embedded it’s dependencies would be easier for us, and all other source-based distributions.
Issue Analytics
- State:
- Created a year ago
- Comments:20 (9 by maintainers)
Top Results From Across the Web
Getting started - Bootstrap
Should you encounter problems with installing dependencies or running Grunt commands, first delete the /node_modules/ directory generated by npm. Then, rerun ...
Read more >Stop vendoring packages #2825 - pypa/setuptools - GitHub
When vendoring dependencies, it's the responsibility of the hosting package to re-write imports to point to the vendored copies, creating non-standard usage ...
Read more >Adding third party vendor dependencies to mean.js
I've been struggling trying to hook up this dependency (http://flowjs.github.io/ng-flow/) to my mean.js application. I'm thinking it's simply a naming ...
Read more >Bootstrapping WordPress projects with Composer and WP-CLI
When declaring themes and plugins as dependencies, their vendor names are ... The easiest option is to submit it to Packagist, ...
Read more >How To Bootstrap A Quality Golang Backend - 8th Light
The next step is to design a scalable folder structure and lay out the project's source code. Our choice of framework will help...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
With isolation dependencies are downloaded but not checked. Without isolation (
-n
) dependencies are not downloaded but they are checked by default. Pass-nx
to neither download dependencies nor check them.For Python < 3.11, you’ll also need tomli, but yes, the remaining dependencies are optional.