Lines 1-8
Link Here
|
1 |
--- setup.py.orig Wed Jan 4 09:00:26 2006 |
1 |
--- setup.py.orig 2008-08-06 21:24:28.756047734 +0200 |
2 |
+++ setup.py Wed Jan 4 09:08:19 2006 |
2 |
+++ setup.py 2008-08-06 21:24:18.122056264 +0200 |
3 |
@@ -41,6 +41,10 @@ |
3 |
@@ -58,6 +58,10 @@ |
4 |
if '-lrsync' in LIBS: |
4 |
'zipfile': None |
5 |
libname = [] |
5 |
}) |
6 |
|
6 |
|
7 |
+LOCALBASE = os.getenv("LOCALBASE", "/usr/local") |
7 |
+LOCALBASE = os.getenv("LOCALBASE", "/usr/local") |
8 |
+include_dirs = ["%s/include" % LOCALBASE] |
8 |
+include_dirs = ["%s/include" % LOCALBASE] |
Lines 11-31
Link Here
|
11 |
setup(name="rdiff-backup", |
11 |
setup(name="rdiff-backup", |
12 |
version=version_string, |
12 |
version=version_string, |
13 |
description="Local/remote mirroring+incremental backup", |
13 |
description="Local/remote mirroring+incremental backup", |
14 |
@@ -51,13 +55,9 @@ |
14 |
@@ -68,14 +72,8 @@ |
15 |
ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]), |
15 |
ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]), |
16 |
Extension("rdiff_backup._librsync", |
16 |
Extension("rdiff_backup._librsync", |
17 |
["_librsyncmodule.c"], |
17 |
["_librsyncmodule.c"], |
18 |
- include_dirs=incdir_list, |
18 |
- include_dirs=incdir_list, |
19 |
- library_dirs=libdir_list, |
19 |
- library_dirs=libdir_list, |
20 |
- libraries=libname, |
|
|
21 |
- extra_link_args=lflags_arg)], |
22 |
+ libraries=["rsync"], |
23 |
+ include_dirs=include_dirs, |
20 |
+ include_dirs=include_dirs, |
24 |
+ library_dirs=library_dirs)], |
21 |
+ library_dirs=library_dirs, |
25 |
scripts = ['rdiff-backup', 'rdiff-backup-statistics'], |
22 |
libraries=libname, |
|
|
23 |
extra_link_args=lflags_arg)], |
24 |
- scripts = ['rdiff-backup', 'rdiff-backup-statistics'], |
26 |
- data_files = [('share/man/man1', ['rdiff-backup.1', |
25 |
- data_files = [('share/man/man1', ['rdiff-backup.1', |
27 |
- 'rdiff-backup-statistics.1']), |
26 |
- 'rdiff-backup-statistics.1']), |
28 |
- ('share/doc/rdiff-backup-%s' % (version_string,), |
27 |
- ('share/doc/rdiff-backup-%s' % (version_string,), |
29 |
- ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])]) |
28 |
- ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])], |
30 |
+) |
29 |
- **extra_options) |
31 |
|
30 |
- |
|
|
31 |
+ scripts = ['rdiff-backup', 'rdiff-backup-statistics']) |