~ubuntu-branches/ubuntu/natty/python-support/natty

« back to all changes in this revision

Viewing changes to pysupport-movemodules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-11-21 20:49:10 UTC
  • Revision ID: james.westby@ubuntu.com-20061121204910-w0h3w1vatlqgbqkh
Tags: 0.5.5ubuntu1
Merge from debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# See COPYING for details
6
6
 
7
7
from optparse import OptionParser
8
 
import os,os.path,md5,re
 
8
import os,os.path,md5,re,sys
9
9
 
10
10
sourcepath='usr/share/python-support'
11
11
extensionpath='usr/lib/python-support'
18
18
 
19
19
(options, args) = parser.parse_args()
20
20
 
21
 
py_supported = os.popen("pyversions -s").readline().rstrip().split()
 
21
sys.path.append("/usr/lib/python-support/private/")
 
22
from pysupport import py_supported
22
23
 
23
24
# Set the umask so that directories are created with correct permissions
24
25
os.umask(022)