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

Content added Content deleted
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: Line 65:
</pre>
</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). 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:
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). You will also see a folder called ez_setup. Before we can install the dependencies, we must first install some setup tools using ez_setup.py. To do this, change directory into the ez_setup folder and type:

<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>
<pre>
cd simplejson-3.3.0
cd simplejson-3.3.0