~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Alexander Belchenko
  • Date: 2007-01-30 12:13:18 UTC
  • mto: This revision was merged to the branch mainline in revision 2259.
  • Revision ID: bialix@ukr.net-20070130121318-a03bj0mol21o1rup
setup.py: fix plain 'python setup.py install' for win98

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'