SlideShare a Scribd company logo
1 of 21
Download to read offline
Harness the speed of the wheel
Xavier Fernandez - @xavierfernandez
Polyconseil
May 13, 2014
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 1 / 10
What is Wheel?
Quick overview
a package format
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
What is Wheel?
Quick overview
a package format
defined in PEP 427 ”The Wheel Binary Package Format 1.0”
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
What is Wheel?
Quick overview
a package format
defined in PEP 427 ”The Wheel Binary Package Format 1.0”
doc available at http://wheel.rtfd.org/
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
What is Wheel?
Quick overview
a package format
defined in PEP 427 ”The Wheel Binary Package Format 1.0”
doc available at http://wheel.rtfd.org/
ZIP-format archive (with a structure close to PEP376)
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
What is Wheel?
Quick overview
a package format
defined in PEP 427 ”The Wheel Binary Package Format 1.0”
doc available at http://wheel.rtfd.org/
ZIP-format archive (with a structure close to PEP376)
with a specially formatted file name and the .whl extension
{distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
Benchmark
Installation times of pure python modules
Module .tar.gz .whl Ratio
pep8-1.5.0 0.65 sec 0.27 sec x 2.4
flake8-2.1.0 1.84 sec 0.37 sec x 5.0
mccabe-0.2.1 0.61 sec 0.25 sec x 2.4
pyflakes-0.8 0.67 sec 0.29 sec x 2.3
Django-1.6.4 10.6 sec 6.76 sec x 1.6
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 3 / 10
Benchmark
Installation times of pure python modules
Module .tar.gz .whl Ratio
pep8-1.5.0 0.65 sec 0.27 sec x 2.4
flake8-2.1.0 1.84 sec 0.37 sec x 5.0
mccabe-0.2.1 0.61 sec 0.25 sec x 2.4
pyflakes-0.8 0.67 sec 0.29 sec x 2.3
Django-1.6.4 10.6 sec 6.76 sec x 1.6
Installation times of python modules needing some compilation
Module .tar.gz .whl Ratio
lxml-3.3.5 60 sec 0.42 sec x 143
numpy-1.8.1 208 sec 2.0 sec x 104
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 3 / 10
So how do we use it?
First
Distribute your own pure python libraries in this format, it’s easy:
pip install wheel
setup.py based on setuptools:
python setup.py bdist wheel
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 4 / 10
So how do we use it?
First
Distribute your own pure python libraries in this format, it’s easy:
pip install wheel
setup.py based on setuptools:
python setup.py bdist wheel
setup.py based on distutils alone:
python -c "import setuptools; file = ’setup.py’;
setup code = open( file ).read().replace(’rn’, ’n’);
exec(compile(setup code, file , ’exec’))" bdist wheel
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 4 / 10
So how do we use it?
First
Distribute your own pure python libraries in this format, it’s easy:
pip install wheel
setup.py based on setuptools:
python setup.py bdist wheel
setup.py based on distutils alone:
python -c "import setuptools; file = ’setup.py’;
setup code = open( file ).read().replace(’rn’, ’n’);
exec(compile(setup code, file , ’exec’))" bdist wheel
(so switch to setuptools)
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 4 / 10
So how do we use it?
Second
Precompile all your modules and cache them in a wheelhouse
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 5 / 10
So how do we use it?
Second
Precompile all your modules and cache them in a wheelhouse
Disclaimer
This solution is based on pip and virtualenv
Pitfall
You need a fairly recent of pip/setuptools (requires setuptools ≥ 0.8.0).
A solution is to add a hook in virtualenvwrapper (postmkvirtualenv):
pip install -U pip setuptools
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 5 / 10
So how do we use it?
Create your wheel
In your construction venv:
pip install wheel
pip wheel my module --wheel-dir=my wheelhouse path
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 6 / 10
So how do we use it?
Create your wheel
In your construction venv:
pip install wheel
pip wheel my module --wheel-dir=my wheelhouse path
Install your wheel
In the destination venv:
pip install my module --find-links=file://wheelhouse path
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 6 / 10
Show me the conf!
pip.conf
find-links = file://my wheelhouse path
wheel-dir = my wheelhouse path
Also define a download cache to prevent useless downloads
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 7 / 10
So how do we use it?
Create your wheel
In your construction venv:
pip install wheel
pip wheel my module
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 8 / 10
So how do we use it?
Create your wheel
In your construction venv:
pip install wheel
pip wheel my module
Install your wheel
In the destination venv:
pip install my module
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 8 / 10
The future
Work In Progress
Add an option in pip to create a wheel auto-magically at the first
installation of a module, in order to speed up the next ones
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 9 / 10
The future
Work In Progress
Add an option in pip to create a wheel auto-magically at the first
installation of a module, in order to speed up the next ones
See also
Check out http://pip2014.com/ to get a script (untested) that’s supposed
to configure all this (and apparently some more)
Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 9 / 10
Thanks!

More Related Content

Similar to Harness the speed of the wheel

Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Simon Boulet
 
Deploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APTDeploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APT
Joshua Thijssen
 
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
TUSHAR VARSHNEY
 
Webinar - Managing Files with Puppet
Webinar - Managing Files with PuppetWebinar - Managing Files with Puppet
Webinar - Managing Files with Puppet
OlinData
 

Similar to Harness the speed of the wheel (20)

Python virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesPython virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutes
 
Python+gradle
Python+gradlePython+gradle
Python+gradle
 
Christian Strappazzon - Presentazione Python Milano - Codemotion Milano 2017
Christian Strappazzon - Presentazione Python Milano - Codemotion Milano 2017Christian Strappazzon - Presentazione Python Milano - Codemotion Milano 2017
Christian Strappazzon - Presentazione Python Milano - Codemotion Milano 2017
 
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
Deploying with Super Cow Powers (Hosting your own APT repository with reprepro)
 
Ruby and Rails Packaging to Production
Ruby and Rails Packaging to ProductionRuby and Rails Packaging to Production
Ruby and Rails Packaging to Production
 
A Continuous Packaging Pipeline
A Continuous Packaging PipelineA Continuous Packaging Pipeline
A Continuous Packaging Pipeline
 
PHP on Heroku: Deploying and Scaling Apps in the Cloud
PHP on Heroku: Deploying and Scaling Apps in the CloudPHP on Heroku: Deploying and Scaling Apps in the Cloud
PHP on Heroku: Deploying and Scaling Apps in the Cloud
 
Welcome to the Cheese Shop: setuptools, virtualenv and PyPUG
Welcome to the Cheese Shop: setuptools, virtualenv and PyPUGWelcome to the Cheese Shop: setuptools, virtualenv and PyPUG
Welcome to the Cheese Shop: setuptools, virtualenv and PyPUG
 
Java User Group Cologne
Java User Group CologneJava User Group Cologne
Java User Group Cologne
 
HighEdWeb 2014: Confessions of a CMS Generalist
HighEdWeb 2014: Confessions of a CMS GeneralistHighEdWeb 2014: Confessions of a CMS Generalist
HighEdWeb 2014: Confessions of a CMS Generalist
 
Frontend Performance: Beginner to Expert to Crazy Person
Frontend Performance: Beginner to Expert to Crazy PersonFrontend Performance: Beginner to Expert to Crazy Person
Frontend Performance: Beginner to Expert to Crazy Person
 
Deploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APTDeploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APT
 
Configuration Management with Puppet
Configuration Management with Puppet Configuration Management with Puppet
Configuration Management with Puppet
 
Virtualenv
VirtualenvVirtualenv
Virtualenv
 
Maven
MavenMaven
Maven
 
Virtualenv
VirtualenvVirtualenv
Virtualenv
 
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
 
Webinar - Managing Files with Puppet
Webinar - Managing Files with PuppetWebinar - Managing Files with Puppet
Webinar - Managing Files with Puppet
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
 
Puppetconf2011 small
Puppetconf2011 smallPuppetconf2011 small
Puppetconf2011 small
 

Recently uploaded

Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 

Recently uploaded (20)

WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 

Harness the speed of the wheel

  • 1. Harness the speed of the wheel Xavier Fernandez - @xavierfernandez Polyconseil May 13, 2014 Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 1 / 10
  • 2. What is Wheel? Quick overview a package format Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
  • 3. What is Wheel? Quick overview a package format defined in PEP 427 ”The Wheel Binary Package Format 1.0” Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
  • 4. What is Wheel? Quick overview a package format defined in PEP 427 ”The Wheel Binary Package Format 1.0” doc available at http://wheel.rtfd.org/ Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
  • 5. What is Wheel? Quick overview a package format defined in PEP 427 ”The Wheel Binary Package Format 1.0” doc available at http://wheel.rtfd.org/ ZIP-format archive (with a structure close to PEP376) Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
  • 6. What is Wheel? Quick overview a package format defined in PEP 427 ”The Wheel Binary Package Format 1.0” doc available at http://wheel.rtfd.org/ ZIP-format archive (with a structure close to PEP376) with a specially formatted file name and the .whl extension {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 2 / 10
  • 7. Benchmark Installation times of pure python modules Module .tar.gz .whl Ratio pep8-1.5.0 0.65 sec 0.27 sec x 2.4 flake8-2.1.0 1.84 sec 0.37 sec x 5.0 mccabe-0.2.1 0.61 sec 0.25 sec x 2.4 pyflakes-0.8 0.67 sec 0.29 sec x 2.3 Django-1.6.4 10.6 sec 6.76 sec x 1.6 Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 3 / 10
  • 8. Benchmark Installation times of pure python modules Module .tar.gz .whl Ratio pep8-1.5.0 0.65 sec 0.27 sec x 2.4 flake8-2.1.0 1.84 sec 0.37 sec x 5.0 mccabe-0.2.1 0.61 sec 0.25 sec x 2.4 pyflakes-0.8 0.67 sec 0.29 sec x 2.3 Django-1.6.4 10.6 sec 6.76 sec x 1.6 Installation times of python modules needing some compilation Module .tar.gz .whl Ratio lxml-3.3.5 60 sec 0.42 sec x 143 numpy-1.8.1 208 sec 2.0 sec x 104 Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 3 / 10
  • 9. So how do we use it? First Distribute your own pure python libraries in this format, it’s easy: pip install wheel setup.py based on setuptools: python setup.py bdist wheel Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 4 / 10
  • 10. So how do we use it? First Distribute your own pure python libraries in this format, it’s easy: pip install wheel setup.py based on setuptools: python setup.py bdist wheel setup.py based on distutils alone: python -c "import setuptools; file = ’setup.py’; setup code = open( file ).read().replace(’rn’, ’n’); exec(compile(setup code, file , ’exec’))" bdist wheel Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 4 / 10
  • 11. So how do we use it? First Distribute your own pure python libraries in this format, it’s easy: pip install wheel setup.py based on setuptools: python setup.py bdist wheel setup.py based on distutils alone: python -c "import setuptools; file = ’setup.py’; setup code = open( file ).read().replace(’rn’, ’n’); exec(compile(setup code, file , ’exec’))" bdist wheel (so switch to setuptools) Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 4 / 10
  • 12. So how do we use it? Second Precompile all your modules and cache them in a wheelhouse Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 5 / 10
  • 13. So how do we use it? Second Precompile all your modules and cache them in a wheelhouse Disclaimer This solution is based on pip and virtualenv Pitfall You need a fairly recent of pip/setuptools (requires setuptools ≥ 0.8.0). A solution is to add a hook in virtualenvwrapper (postmkvirtualenv): pip install -U pip setuptools Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 5 / 10
  • 14. So how do we use it? Create your wheel In your construction venv: pip install wheel pip wheel my module --wheel-dir=my wheelhouse path Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 6 / 10
  • 15. So how do we use it? Create your wheel In your construction venv: pip install wheel pip wheel my module --wheel-dir=my wheelhouse path Install your wheel In the destination venv: pip install my module --find-links=file://wheelhouse path Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 6 / 10
  • 16. Show me the conf! pip.conf find-links = file://my wheelhouse path wheel-dir = my wheelhouse path Also define a download cache to prevent useless downloads Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 7 / 10
  • 17. So how do we use it? Create your wheel In your construction venv: pip install wheel pip wheel my module Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 8 / 10
  • 18. So how do we use it? Create your wheel In your construction venv: pip install wheel pip wheel my module Install your wheel In the destination venv: pip install my module Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 8 / 10
  • 19. The future Work In Progress Add an option in pip to create a wheel auto-magically at the first installation of a module, in order to speed up the next ones Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 9 / 10
  • 20. The future Work In Progress Add an option in pip to create a wheel auto-magically at the first installation of a module, in order to speed up the next ones See also Check out http://pip2014.com/ to get a script (untested) that’s supposed to configure all this (and apparently some more) Xavier Fernandez (Polyconseil) Harness the speed of the wheel May 13, 2014 9 / 10