1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/env python
import sys, os, getopt
from distutils.core import setup, Extension
version_string = "$version"
if sys.version_info[:2] < (2,2):
print "Sorry, duplicity requires version 2.2 or later of python"
sys.exit(1)
setup(name="duplicity",
version=version_string,
description="Untrusted backup using rsync algorithm",
author="Ben Escoto",
author_email="bescoto@stanford.edu",
url="http://rdiff-backup.stanford.edu/duplicity",
packages = ['duplicity'],
package_dir = {"duplicity": "src"},
ext_modules = [Extension("duplicity._librsync",
["_librsyncmodule.c"],
libraries=["rsync"])],
scripts = ['rdiffdir', 'duplicity'],
data_files = [('share/man/man1', ['duplicity.1', 'rdiffdir.1']),
('share/doc/duplicity-%s' % version_string,
['COPYING', 'README', 'CHANGELOG'])])
|