~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-02-03 16:20:12 UTC
  • mfrom: (2245.4.11 win98.support)
  • Revision ID: pqm@pqm.ubuntu.com-20070203162012-b09dab5423fa3c50
(bialix) Support for Windows 98

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
    Create bzr.bat for win32.
100
100
    """
101
101
    def run(self):
102
 
        import os
103
 
        import sys
104
 
 
105
102
        install_scripts.run(self)   # standard action
106
103
 
107
104
        if sys.platform == "win32":
127
124
            return path
128
125
 
129
126
    def _win_batch_args(self):
130
 
        if os.name == 'nt':
 
127
        from bzrlib.win32utils import winver
 
128
        if winver == 'Windows NT':
131
129
            return '%*'
132
130
        else:
133
131
            return '%1 %2 %3 %4 %5 %6 %7 %8 %9'