|
|
'install_lib' : r"c:\pytraffic12"} | 'install_lib' : r"c:\pytraffic12"} |
options['build_ext']={'compiler' : 'mingw32'} | options['build_ext']={'compiler' : 'mingw32'} |
else: | else: |
options['install']={'home' : "/usr/share/pytraffic12", |
options['install']={'home' : "/usr/share/games/pytraffic12", |
'install_lib' : '$base', | 'install_lib' : '$base', |
'install_data' : '$base'} | 'install_data' : '$base'} |
options['build_ext']={'compiler' : 'unix'} | options['build_ext']={'compiler' : 'unix'} |
|
|
| |
def main_command(): | def main_command(): |
if os.name=='posix': | if os.name=='posix': |
return [("/usr/bin",['pytraffic'])] |
return [("/usr/games/bin",['pytraffic'])] |
else: | else: |
return [(".",["WinGame.pyw"])] | return [(".",["WinGame.pyw"])] |
| |