diff options
| author | Michael Merickel <michael@merickel.org> | 2013-10-11 15:19:34 -0700 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-10-11 15:19:34 -0700 |
| commit | 55917fe91b4344008da352e262dc2135629405d6 (patch) | |
| tree | 4b9f81e2ccf3a3590e539808b72ca443778b3359 | |
| parent | c7c816fba2c97c5775452857218e136d00cc4b28 (diff) | |
| parent | e7ad85361379bc0d8276a2583ae20ac84b3989c8 (diff) | |
| download | pyramid-55917fe91b4344008da352e262dc2135629405d6.tar.gz pyramid-55917fe91b4344008da352e262dc2135629405d6.tar.bz2 pyramid-55917fe91b4344008da352e262dc2135629405d6.zip | |
Merge pull request #1157 from tshepang/diff
some doc fixes/improvements
| -rw-r--r-- | HACKING.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/HACKING.txt b/HACKING.txt index be67000ce..b32a8a957 100644 --- a/HACKING.txt +++ b/HACKING.txt @@ -27,8 +27,7 @@ By Hand Note that very old versions of virtualenv (virtualenv versions below, say, 1.10 or thereabouts) require you to pass a ``--no-site-packages`` flag to - get a completely isolated environment. If you're on an old system, use - ``virtualenv --no-site-packages`` instead of ``virtualenv`` above. + get a completely isolated environment. You can choose which Python version you want to use by passing a ``-p`` flag to ``virtualenv``. For example, ``virtualenv -ppython2.7`` @@ -82,7 +81,7 @@ way to get going. (alternately, create a writeable fork on GitHub and check that out). -Since pyramid is a framework and not an application, it can be +Since Pyramid is a framework and not an application, it can be convenient to work against a sample application, preferably in its own virtualenv. A quick way to achieve this is to (ab-)use ``tox`` (http://tox.readthedocs.org/en/latest/) with a custom configuration @@ -90,7 +89,7 @@ file that's part of the checkout:: tox -c hacking-tox.ini -This will create a python-2.7 based virtualenv named ``env27`` (pyramid's +This will create a python-2.7 based virtualenv named ``env27`` (Pyramid's ``.gitconfig` ignores all top-level folders that start with ``env`` specifically for this use case) and inside that a simple pyramid application named ``hacking`` that you can then fire up like so:: @@ -166,7 +165,7 @@ Running Tests $ cd ~/hack-on-pyramid/ $ /usr/bin/tox -- The tests can also be run usign ``pytest`` (http://pytest.org/). This is +- The tests can also be run using ``pytest`` (http://pytest.org/). This is intended as a convenience for people who are more used or fond of ``pytest``. Run the tests like so:: @@ -192,7 +191,7 @@ or adds the feature. To build and review docs (where ``$VENV`` refers to the virtualenv you're using to develop Pyramid): -1. After follwing the steps above in "Using a Development Checkout", cause +1. After following the steps above in "Using a Development Checkout", cause Sphinx and all development requirements to be installed in your virtualenv:: |
