|
Lines 45-51
Link Here
|
| 45 |
'install_lib' : r"c:\pytraffic12"} |
45 |
'install_lib' : r"c:\pytraffic12"} |
| 46 |
options['build_ext']={'compiler' : 'mingw32'} |
46 |
options['build_ext']={'compiler' : 'mingw32'} |
| 47 |
else: |
47 |
else: |
| 48 |
options['install']={'home' : "/usr/share/pytraffic12", |
48 |
options['install']={'home' : "/usr/share/games/pytraffic12", |
| 49 |
'install_lib' : '$base', |
49 |
'install_lib' : '$base', |
| 50 |
'install_data' : '$base'} |
50 |
'install_data' : '$base'} |
| 51 |
options['build_ext']={'compiler' : 'unix'} |
51 |
options['build_ext']={'compiler' : 'unix'} |
|
Lines 53-59
Link Here
|
| 53 |
|
53 |
|
| 54 |
def main_command(): |
54 |
def main_command(): |
| 55 |
if os.name=='posix': |
55 |
if os.name=='posix': |
| 56 |
return [("/usr/bin",['pytraffic'])] |
56 |
return [("/usr/games/bin",['pytraffic'])] |
| 57 |
else: |
57 |
else: |
| 58 |
return [(".",["WinGame.pyw"])] |
58 |
return [(".",["WinGame.pyw"])] |
| 59 |
|
59 |
|