~ed.so/duplicity/reuse-passphrase-for-signing-fix

« back to all changes in this revision

Viewing changes to dist/setup.py

  • Committer: bescoto
  • Date: 2002-10-29 01:49:46 UTC
  • Revision ID: vcs-imports@canonical.com-20021029014946-3m4rmm5plom7pl6q
Initial checkin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
import sys, os, getopt
 
4
from distutils.core import setup, Extension
 
5
 
 
6
version_string = "$version"
 
7
 
 
8
if sys.version_info[:2] < (2,2):
 
9
        print "Sorry, duplicity requires version 2.2 or later of python"
 
10
        sys.exit(1)
 
11
 
 
12
setup(name="duplicity",
 
13
          version=version_string,
 
14
          description="Untrusted backup using rsync algorithm",
 
15
          author="Ben Escoto",
 
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'])])
 
27
 
 
28
 
 
29
 
 
30