diff options
| author | Barry Scott <barry@barrys-emacs.org> | 2016-07-12 18:27:03 +0100 |
|---|---|---|
| committer | Barry Scott <barry@barrys-emacs.org> | 2016-07-12 18:27:03 +0100 |
| commit | b4b5ecc217154405ac0f6221af99a4ab18d067f6 (patch) | |
| tree | 42ec5a4a19a52158c6aa6a20afabd75450f4fbe2 /README.md | |
| parent | a7f403b1e82d4ada20d0e747032c7382e2a6bf63 (diff) | |
| parent | 4896fa2ccbd84553392e2a74af450d807e197783 (diff) | |
| download | GitPython-b4b5ecc217154405ac0f6221af99a4ab18d067f6.tar.gz GitPython-b4b5ecc217154405ac0f6221af99a4ab18d067f6.zip | |
Merge branch 'master' of https://github.com/gitpython-developers/GitPython
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -34,9 +34,19 @@ Both commands will install the required package dependencies. A distribution package can be obtained for manual installation at: http://pypi.python.org/pypi/GitPython + +If you like to clone from source, you can do it like so: + +```bash +git clone https://github.com/gitpython-developers/GitPython +git submodule update --init --recursive +./init-tests-after-clone.sh +``` ### RUNNING TESTS +*Important*: Right after cloning this repository, please be sure to have executed the `init-tests-after-clone.sh` script in the repository root. Otherwise you will encounter test failures. + The easiest way to run test is by using [tox](https://pypi.python.org/pypi/tox) a wrapper around virtualenv. It will take care of setting up environnements with the proper dependencies installed and execute test commands. To install it simply: pip install tox @@ -44,6 +54,9 @@ The easiest way to run test is by using [tox](https://pypi.python.org/pypi/tox) Then run: tox + + +For more fine-grained control, you can use `nose`. ### Contributions |
