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

« back to all changes in this revision

Viewing changes to duplicity/compilec.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
 
4
from distutils.core import setup, Extension
 
5
 
 
6
assert len(sys.argv) == 1
 
7
sys.argv.append("build")
 
8
 
 
9
setup(name="CModule",
 
10
          version="0.9.0",
 
11
          description="duplicity's C component",
 
12
          ext_modules=[#Extension("C", ["cmodule.c"]),
 
13
                                   Extension("_librsync",
 
14
                                                         ["_librsyncmodule.c"],
 
15
                                                         libraries=["rsync"])])
 
16
 
 
17
#assert not os.system("mv build/lib.linux-i686-2.2/C.so .")
 
18
assert not os.system("mv build/lib.linux-i686-2.2/_librsync.so .")
 
19
assert not os.system("rm -rf build")