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