Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

setup: abort if run on non-Windows platforms

Changeset 73fd648de9ff

Parent 5acd8db48481

by TK Soh

Changes to one file · Browse files at 73fd648de9ff Showing diff from parent 5acd8db48481 Diff from another changeset...

Change 1 of 1 Show Entire File setup.py Stacked
 
9
10
11
 
 
 
 
 
12
13
14
 
9
10
11
12
13
14
15
16
17
18
19
@@ -9,6 +9,11 @@
 import sys  import os   +# non-Win32 platforms doesn't require setup +if os.name != 'nt': + sys.stderr.write("abort: %s is for Win32 platforms only" % sys.argv[0]) + sys.exit(1) +  # ModuleFinder can't handle runtime changes to __path__, but win32com uses them    try: