diff options
| author | Michael Merickel <michael@merickel.org> | 2016-02-12 02:54:37 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-02-12 02:54:37 -0600 |
| commit | 23c2d7b337a5873dba0ca6c146e1174136ac2187 (patch) | |
| tree | 22a57b6d3cfd607cfbc2cedefc92d1d3b0a831d0 /docs/tutorials/wiki2/definingmodels.rst | |
| parent | 4872a1e713f894b383990f62cf82c2b21f810c16 (diff) | |
| download | pyramid-23c2d7b337a5873dba0ca6c146e1174136ac2187.tar.gz pyramid-23c2d7b337a5873dba0ca6c146e1174136ac2187.tar.bz2 pyramid-23c2d7b337a5873dba0ca6c146e1174136ac2187.zip | |
update the views/models with setup.py develop
Diffstat (limited to 'docs/tutorials/wiki2/definingmodels.rst')
| -rw-r--r-- | docs/tutorials/wiki2/definingmodels.rst | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst index 33e7beb4f..41f36fa26 100644 --- a/docs/tutorials/wiki2/definingmodels.rst +++ b/docs/tutorials/wiki2/definingmodels.rst @@ -37,6 +37,36 @@ Open ``tutorial/setup.py`` and edit it to look like the following: Only the highlighted line needs to be added. +Running ``setup.py develop`` +============================ + +Since a new software dependency was added, you will need to run ``python +setup.py develop`` again inside the root of the ``tutorial`` package to obtain +and register the newly added dependency distribution. + +Make sure your current working directory is the root of the project (the +directory in which ``setup.py`` lives) and execute the following command. + +On UNIX: + +.. code-block:: bash + + $ cd tutorial + $ $VENV/bin/python setup.py develop + +On Windows: + +.. code-block:: text + + c:\pyramidtut> cd tutorial + c:\pyramidtut\tutorial> %VENV%\Scripts\python setup.py develop + +Success executing this command will end with a line to the console something +like this:: + + Finished processing dependencies for tutorial==0.0 + + Remove ``mymodel.py`` --------------------- |
