Comments (7)
This is how to reproduce this:-
wget https://bootstrap.pypa.io/bootstrap-buildout.py
Create this buildout.cfg:-
[buildout]
parts = main
extensions =
buildout.wheel
mr.developer
[main]
recipe = zc.recipe.egg
eggs =
requests
Then run buildout:-
python3 bootstrap-buildout.py
./bin/buildout
from buildout.wheel.
It look like buildout.wheel.load()
doesn't has a chance to run now to patch and inject correct function into zc.buildout.easy_install.UNPACKERS
.
from buildout.wheel.
I'm getting the same error on a jenkins machine. I'm using mr.developer there, but not buildout.wheel. So it probably hasn't got anything to do with buildout.wheel, strangely.
Getting distribution for 'mr.developer==1.28'.
Got mr.developer 1.28.
mr.developer: Creating missing sources dir /code/src.
Getting distribution for 'setuptools'.
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
warning: no files found matching '*' under directory 'setuptools/_vendor'
Got setuptools 38.2.0.
Upgraded:
setuptools version 38.2.0;
restarting.
Generated script '/code/bin/buildout'.
Getting distribution for 'setuptools'.
Using unpack_wheel() shim over the deprecated wheel_to_egg() hook.
Please update your wheel extension implementation for one that installs a .whl
handler in zc.buildout.easy_install.UNPACKERS
While:
Installing.
Checking for upgrades.
Getting distribution for 'setuptools'.
Error: Wheels are not supported
script returned exit code 1
from buildout.wheel.
I don't think this is a buildout.wheel issue, so I've filed buildout/buildout#425
from buildout.wheel.
Workaround mentioned here seem to work. buildout.wheel also get loaded and executed. All packages also still installed as wheel (.ovo) in eggs/
dir.
pip.vcs: Registered VCS backend: git
pip.vcs: Registered VCS backend: hg
pip.vcs: Registered VCS backend: svn
pip.vcs: Registered VCS backend: bzr
buildout.wheel: Patched in wheel support
from buildout.wheel.
It looks to me like buildout.wheel isn't needed anymore. With that workaround, without buildout.wheel, setuptools does the job itself. The wheel (numpy in my case) gets installed as a .whl
directory: numpy-1.13.3-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl/
The sys.path
in a script also looks fine:
sys.path[0:0] = [
'/private/tmp/reutel/eggs/requests-2.18.3-py2.py3-none-any.whl',
'/private/tmp/reutel/eggs/numpy-1.13.3-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl',
'/private/tmp/reutel/eggs/idna-2.5-py3.6.egg',
'/private/tmp/reutel/eggs/chardet-3.0.4-py3.6.egg',
'/private/tmp/reutel/eggs/certifi-2017.11.5-py3.6.egg',
'/private/tmp/reutel/eggs/urllib3-1.22-py3.6.egg',
]
from buildout.wheel.
And removing .whl from UNPACKERS, the wheel will get installed as .egg extension. It still installed from wheel, as getting lxml for example is just a snap, instead of going through compilation step.
from buildout.wheel.
Related Issues (8)
- 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
- Wheel blacklisting HOT 1
- Only fall back to wheel if no other dists HOT 2
- ImportError: No module named pip.pep425tags HOT 11
- Please rename repo to buildout.wheel HOT 4
- Add manylinux test
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.