Comments (1)
After experimenting with this feature in a branch, I've come to the conclusion that there is nothing wheel specific about it, and it could just as well live in another extension, where it could be used to generically blacklist specific dists (including eggs or sdists).
I've thought about the following design:
Instead of a wheel-blacklist
setting on [buildout]
, we could have a distribution-blacklist-section
that contained the name of a buildout section. This section would then contain project names as keys, and fnmatch.filter()
style patterns as values. Something like:
[buildout]
extensions =
buildout.distblacklist
buildout.wheel
distribution-blacklist-section = distblacklist
(...)
[distblacklist]
ptyprocess = */ptyprocess-0.5.1-py2.py3-none-any.whl
zc.recipe.egg = *.whl
The nice thing about this syntax is that it allows blacklisting specific dist formats in specific hosts for specific projects only (or even for specific architectures), like:
[distblacklist]
numpy = https://pypi.python.org/*/numpy-*-cp27-cp27m-manylinux1_x86_64.whl
We can get equivalent functionality by having a single setting contain all blacklist patterns instead of having different patterns for different project names, since the distribution names are necessarily embedded in the location URL, but allowing for different patterns for each project name allows to easily block certain formats of distribution only for certain projects.
from buildout.wheel.
Related Issues (8)
- Please rename repo to buildout.wheel HOT 4
- Add manylinux test
- Error when installing a wheel on Windows HOT 5
- Cannot install wheel from local file system if name not all lowercase on Windows HOT 1
- Only fall back to wheel if no other dists HOT 2
- Installing from wheel failed after upgrading to setuptools v38.2.0 HOT 7
- ImportError: No module named pip.pep425tags HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildout.wheel.