forked from mirrors/gecko-dev
Vendoring wheels has three benefits: * There's far less files, so Firefox checkouts will be smaller. * It works around `zipp` not allowing `pip install` from extracted source `tar.gz` files. Now, we should be able to use the pip resolver against vendored packages, which will be needed for future mach virtualenv work. * `./mach vendor python` takes far less time to execute. Since we need the raw Python to be available to add to the `sys.path`, we extract the wheels before putting them in tree. Due to the structure of some wheels being less nested than of a source `tar.gz`, `common_virtualenv_packages` needed to be adjusted accordingly. `install_pip_package()` had to be tweaked as well since you can't `pip install` an extracted wheel. So, we "re-bundle" the wheel before installing from a vendored package. Replace python packages with wheels where possible This contains the vendoring changes caused by the last patch. For reviewing, there's a couple things to note: * A bunch of files are deleted, since there's generally less files in a wheel than in a source archive. * There's a new `.dist-info` directory for each extracted wheel, so expect roughly 5 or 6 new files for each wheel'd package. * There should be no source code changes other than moves from package names changing from having `-` to having `_`. Differential Revision: https://phabricator.services.mozilla.com/D116512
21 lines
1.4 KiB
Python
21 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
#: list of lorem ipsum words used by the lipsum() helper function
|
|
LOREM_IPSUM_WORDS = u"""\
|
|
a ac accumsan ad adipiscing aenean aliquam aliquet amet ante aptent arcu at
|
|
auctor augue bibendum blandit class commodo condimentum congue consectetuer
|
|
consequat conubia convallis cras cubilia cum curabitur curae cursus dapibus
|
|
diam dictum dictumst dignissim dis dolor donec dui duis egestas eget eleifend
|
|
elementum elit enim erat eros est et etiam eu euismod facilisi facilisis fames
|
|
faucibus felis fermentum feugiat fringilla fusce gravida habitant habitasse hac
|
|
hendrerit hymenaeos iaculis id imperdiet in inceptos integer interdum ipsum
|
|
justo lacinia lacus laoreet lectus leo libero ligula litora lobortis lorem
|
|
luctus maecenas magna magnis malesuada massa mattis mauris metus mi molestie
|
|
mollis montes morbi mus nam nascetur natoque nec neque netus nibh nisi nisl non
|
|
nonummy nostra nulla nullam nunc odio orci ornare parturient pede pellentesque
|
|
penatibus per pharetra phasellus placerat platea porta porttitor posuere
|
|
potenti praesent pretium primis proin pulvinar purus quam quis quisque rhoncus
|
|
ridiculus risus rutrum sagittis sapien scelerisque sed sem semper senectus sit
|
|
sociis sociosqu sodales sollicitudin suscipit suspendisse taciti tellus tempor
|
|
tempus tincidunt torquent tortor tristique turpis ullamcorper ultrices
|
|
ultricies urna ut varius vehicula vel velit venenatis vestibulum vitae vivamus
|
|
viverra volutpat vulputate"""
|