Philadelphia Python Workshop 9/Setup/Linux project dependencies: Difference between revisions

imported>Geography76
(Created page with "==Wordplay== 200px ===Download the Wordplay project=== We've written some skeleton code for the Wordplay project already. Download this code so you'r...")
 
 
Line 65:
</pre>
 
will show you the source code files in that directory. In this directory are five folders: Twitter (the main folder) and four dependency folders (simplejson-3.3.0, python-oauth2-master, httplib2-0.8, and python-twitter-1.0). ThreeYou ofwill thealso dependencysee subfoldersa havefolder ancalled installer scriptez_setup. thatBefore we'll needcan toinstall runthe atdependencies, awe commandmust prompt tofirst install thesome software.setup Fortools eachusing dependencyez_setup.py. (inTo thedo order:this, simplejson-3.3.0change python-oauth2-masterdirectory httplib2-0.8)into navigatethe to theez_setup folder using cd. Forand exampletype:
 
<pre>
python ez_setup.py
</pre>
 
Now, we are ready to install the dependencies.
 
Three of the dependency subfolders have an installer script that we'll need to run at a command prompt to install the software. For each dependency (in the order: simplejson-3.3.0 python-oauth2-master httplib2-0.8) navigate to the folder using cd. For example:
<pre>
cd simplejson-3.3.0
Anonymous user