~germar/duplicity/par2

« back to all changes in this revision

Viewing changes to REPO-README

  • Committer: Michael Terry
  • Date: 2011-11-07 15:08:24 UTC
  • mto: This revision was merged to the branch mainline in revision 802.
  • Revision ID: michael.terry@canonical.com-20111107150824-vbmqdlyhapbxu0yp
Make tarball layout match bzr layout much more closely; ship tests in tarballs and adjust things so that they can work

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
2) cd $DUP_ROOT/duplicity
12
12
3) run "python compilec.py" to create _librsync.so
13
13
4) cd ..
14
 
5) run "./duplicity-bin -V". You will see "duplicity $version" instead
 
14
5) run "./bin/duplicity -V". You will see "duplicity $version" instead
15
15
of the normal version number. Versioning comes during the release.
16
16
 
17
17
To run outside this directory, use PYTHONPATH to set the path. 
18
18
 
19
 
PYTHONPATH=$DUP_ROOT duplicity-bin
 
19
PYTHONPATH=$DUP_ROOT bin/duplicity
20
20
 
21
21
or
22
22
 
23
 
PYTHONPATH=$DUP_ROOT rdiffdir
 
23
PYTHONPATH=$DUP_ROOT bin/rdiffdir
24
24
 
25
25
 
26
26
Running the unit tests:
27
27
-----------------------
28
28
 
29
 
If you want to try some of tests, you first have to untar the
30
 
testfiles.tar.gz as root (the tarball contains device files, files
31
 
with various uid/gid, etc):
32
 
 
33
 
cd testing; tar -xvzf testfiles.tar.gz
34
 
 
35
 
Then run the various *test.py files, for instance:
36
 
 
37
 
cd testing; python lazytest.py
 
29
cd testing; ./run-tests