Lines 1-4
Link Here
|
1 |
--- setup.py.orig 2016-08-20 19:13:49 UTC |
1 |
--- setup.py.orig 2016-12-31 16:33:12 UTC |
2 |
+++ setup.py |
2 |
+++ setup.py |
3 |
@@ -23,7 +23,6 @@ |
3 |
@@ -23,7 +23,6 @@ |
4 |
import sys |
4 |
import sys |
Lines 18-24
Link Here
|
18 |
|
18 |
|
19 |
if os.name == 'posix': |
19 |
if os.name == 'posix': |
20 |
LIBRSYNC_DIR = os.environ.get('LIBRSYNC_DIR', '') |
20 |
LIBRSYNC_DIR = os.environ.get('LIBRSYNC_DIR', '') |
21 |
@@ -47,15 +49,9 @@ if os.name == 'posix': |
21 |
@@ -47,16 +49,10 @@ if os.name == 'posix': |
22 |
incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')] |
22 |
incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')] |
23 |
libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')] |
23 |
libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')] |
24 |
|
24 |
|
Lines 32-45
Link Here
|
32 |
- 'README-REPO', |
32 |
- 'README-REPO', |
33 |
- 'README-LOG', |
33 |
- 'README-LOG', |
34 |
- 'CHANGELOG']), |
34 |
- 'CHANGELOG']), |
35 |
] |
35 |
- ] |
|
|
36 |
+ ] |
36 |
|
37 |
|
37 |
top_dir = os.path.dirname(os.path.abspath(__file__)) |
38 |
top_dir = os.path.dirname(os.path.abspath(__file__)) |
38 |
@@ -69,48 +65,9 @@ for root, dirs, files in os.walk(os.path |
39 |
assert os.path.exists(os.path.join(top_dir, "po")), "Missing 'po' directory." |
39 |
('share/locale/%s/LC_MESSAGES' % lang, |
40 |
@@ -70,46 +66,9 @@ for root, dirs, files in os.walk(os.path |
40 |
["po/%s/duplicity.mo" % lang])) |
41 |
["po/%s/duplicity.mo" % lang])) |
41 |
|
42 |
|
42 |
- |
43 |
|
43 |
-class TestCommand(test): |
44 |
-class TestCommand(test): |
44 |
- |
45 |
- |
45 |
- def run(self): |
46 |
- def run(self): |
Lines 80-90
Link Here
|
80 |
- if self.build_lib != top_dir: |
81 |
- if self.build_lib != top_dir: |
81 |
- testing_dir = os.path.join(self.build_lib, 'testing') |
82 |
- testing_dir = os.path.join(self.build_lib, 'testing') |
82 |
- os.system("rm -rf %s" % testing_dir) |
83 |
- os.system("rm -rf %s" % testing_dir) |
83 |
- |
|
|
84 |
install.run(self) |
85 |
|
84 |
|
|
|
85 |
install.run(self) |
86 |
|
86 |
|
87 |
@@ -177,11 +134,7 @@ setup(name="duplicity", |
87 |
@@ -177,11 +136,7 @@ setup(name="duplicity", |
88 |
url="http://duplicity.nongnu.org/index.html", |
88 |
url="http://duplicity.nongnu.org/index.html", |
89 |
packages=['duplicity', |
89 |
packages=['duplicity', |
90 |
'duplicity.backends', |
90 |
'duplicity.backends', |
Lines 97-103
Link Here
|
97 |
package_dir={"duplicity": "duplicity", |
97 |
package_dir={"duplicity": "duplicity", |
98 |
"duplicity.backends": "duplicity/backends", }, |
98 |
"duplicity.backends": "duplicity/backends", }, |
99 |
ext_modules=[Extension("duplicity._librsync", |
99 |
ext_modules=[Extension("duplicity._librsync", |
100 |
@@ -192,10 +145,7 @@ setup(name="duplicity", |
100 |
@@ -192,10 +147,7 @@ setup(name="duplicity", |
101 |
scripts=['bin/rdiffdir', 'bin/duplicity'], |
101 |
scripts=['bin/rdiffdir', 'bin/duplicity'], |
102 |
data_files=data_files, |
102 |
data_files=data_files, |
103 |
install_requires=['lockfile'], |
103 |
install_requires=['lockfile'], |