Lines 1-14
Link Here
|
1 |
--- setup.py.orig 2014-05-18 14:37:42.190089675 +0100 |
1 |
--- setup.py.orig 2015-03-11 12:33:38 UTC |
2 |
+++ setup.py 2014-05-18 14:41:15.084751008 +0100 |
2 |
+++ setup.py |
3 |
@@ -22,7 +22,6 @@ |
3 |
@@ -23,7 +23,6 @@ |
4 |
|
4 |
import sys |
5 |
import sys, os |
5 |
import os |
6 |
from setuptools import setup, Extension |
6 |
from setuptools import setup, Extension |
7 |
-from setuptools.command.test import test |
7 |
-from setuptools.command.test import test |
8 |
from setuptools.command.install import install |
8 |
from setuptools.command.install import install |
9 |
from setuptools.command.sdist import sdist |
9 |
from setuptools.command.sdist import sdist |
10 |
|
10 |
|
11 |
@@ -34,6 +33,10 @@ |
11 |
@@ -35,6 +34,10 @@ if sys.version_info[:2] < (2, 6): |
12 |
|
12 |
|
13 |
incdir_list = libdir_list = None |
13 |
incdir_list = libdir_list = None |
14 |
|
14 |
|
Lines 19-25
Link Here
|
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 |
args = sys.argv[:] |
21 |
args = sys.argv[:] |
22 |
@@ -45,17 +48,9 @@ |
22 |
@@ -46,15 +49,9 @@ if os.name == 'posix': |
23 |
incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')] |
23 |
incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')] |
24 |
libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')] |
24 |
libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')] |
25 |
|
25 |
|
Lines 32-44
Link Here
|
32 |
- 'README', |
32 |
- 'README', |
33 |
- 'README-REPO', |
33 |
- 'README-REPO', |
34 |
- 'README-LOG', |
34 |
- 'README-LOG', |
35 |
- 'tarfile-LICENSE', |
|
|
36 |
- 'tarfile-CHANGES', |
37 |
- 'CHANGELOG']), |
35 |
- 'CHANGELOG']), |
38 |
] |
36 |
] |
39 |
|
37 |
|
40 |
top_dir = os.path.dirname(os.path.abspath(__file__)) |
38 |
top_dir = os.path.dirname(os.path.abspath(__file__)) |
41 |
@@ -70,45 +65,8 @@ |
39 |
@@ -69,45 +66,8 @@ for root, dirs, files in os.walk(os.path |
42 |
["po/%s/duplicity.mo" % lang])) |
40 |
["po/%s/duplicity.mo" % lang])) |
43 |
|
41 |
|
44 |
|
42 |
|
Lines 53-59
Link Here
|
53 |
- |
51 |
- |
54 |
- # make symlinks for test data |
52 |
- # make symlinks for test data |
55 |
- if build_cmd.build_lib != top_dir: |
53 |
- if build_cmd.build_lib != top_dir: |
56 |
- for path in ['testfiles.tar.gz', 'testtar.tar', 'gnupg']: |
54 |
- for path in ['testfiles.tar.gz', 'gnupg']: |
57 |
- src = os.path.join(top_dir, 'testing', path) |
55 |
- src = os.path.join(top_dir, 'testing', path) |
58 |
- target = os.path.join(build_cmd.build_lib, 'testing', path) |
56 |
- target = os.path.join(build_cmd.build_lib, 'testing', path) |
59 |
- try: |
57 |
- try: |
Lines 84-108
Link Here
|
84 |
install.run(self) |
82 |
install.run(self) |
85 |
|
83 |
|
86 |
|
84 |
|
87 |
@@ -133,11 +91,7 @@ |
85 |
@@ -133,11 +93,7 @@ setup(name="duplicity", |
88 |
maintainer_email="kenneth@loafman.com", |
|
|
89 |
url="http://duplicity.nongnu.org/index.html", |
86 |
url="http://duplicity.nongnu.org/index.html", |
90 |
packages = ['duplicity', |
87 |
packages=['duplicity', |
91 |
- 'duplicity.backends', |
88 |
'duplicity.backends', |
|
|
89 |
- 'duplicity.backends.pyrax_identity', |
92 |
- 'testing', |
90 |
- 'testing', |
93 |
- 'testing.functional', |
91 |
- 'testing.functional', |
94 |
- 'testing.overrides', |
92 |
- 'testing.overrides', |
95 |
- 'testing.unit'], |
93 |
- 'testing.unit'], |
96 |
+ 'duplicity.backends'], |
94 |
+ 'duplicity.backends.pyrax_identity'], |
97 |
package_dir = {"duplicity" : "duplicity", |
95 |
package_dir={"duplicity": "duplicity", |
98 |
"duplicity.backends" : "duplicity/backends",}, |
96 |
"duplicity.backends": "duplicity/backends", }, |
99 |
ext_modules = [Extension("duplicity._librsync", |
97 |
ext_modules=[Extension("duplicity._librsync", |
100 |
@@ -147,9 +101,6 @@ |
98 |
@@ -147,9 +103,6 @@ setup(name="duplicity", |
101 |
libraries=["rsync"])], |
99 |
libraries=["rsync"])], |
102 |
scripts = ['bin/rdiffdir', 'bin/duplicity'], |
100 |
scripts=['bin/rdiffdir', 'bin/duplicity'], |
103 |
data_files = data_files, |
101 |
data_files=data_files, |
104 |
- tests_require = ['lockfile', 'mock'], |
102 |
- tests_require=['lockfile', 'mock', 'pexpect'], |
105 |
- test_suite = 'testing', |
103 |
- test_suite='testing', |
106 |
- cmdclass={'test': TestCommand, |
104 |
- cmdclass={'test': TestCommand, |
107 |
- 'install': InstallCommand, |
105 |
- 'install': InstallCommand, |
108 |
+ cmdclass={'install': InstallCommand, |
106 |
+ cmdclass={'install': InstallCommand, |