Closed coderanger closed 11 years ago
This one is confusing since it looks like there is a dupe: https://us.pycon.org/2014/admin/cms/page/46/ https://us.pycon.org/2014/admin/cms/page/36/
I think the EN pages on the CMS need do be merged before we can translate.
Oups! I already translated this one https://us.pycon.org/2014/admin/cms/page/36/.
General installation help: 6:30-8:00PM Tuesday & Wednesday in Open Spaces.
If you want to help others prepare for their Tutorial Installations at PyCon, here are some basic guidelines.
Assume no network
Assume there may not be any network available.
Use virtualenv
Normally, you want to setup using virtualenv (assume people will take more than one tutorial), however there are some packages that will not install easily under virtualenv (pygame, for example; potentially some other packages which require your compilation environment and dependencies). If you're going to use virutalenv, it would look something like this for example:
Since virtualenv typically modifies the shell prompt to show which environment your operating under, pick a meaningful name. I typically start all v-env's with "V" or "E" (so they show together in a directory listing).
People may want to add this to their bash login script:
It may help newcomers, as it makes the idioms for virtualenv a little more symmetrical and thus easier to remember, e.g.:
Once your virtualenv is activated, you can begin installing into it.
Install from USB
Prepare your packages for USB Install (not from the network):
Install from your own USB:
You don't need to use a requirements.txt file; you can simply load packages individually by name, if that is more convenient.
Ubiquitous USB
When downloading binary packages, whenever possible save for 3 platforms on your USB (Linux, Mac, Win).
So that all the USBs floating around Tutorial Prep nights look the same, follow this pattern: