Keep Windows-specific hacks to a minimum

Registered by S

What it says on the tin; instead of hacking the program and maintaining two branches, one for unix and one for win32, keep one with checks for sys.platform in ("win32", "other os"), etc. After all the hacking I did to 1.7 to get the installer working, it'd save everyone a lot of headaches. I'm certainly not putting *that* code back into trunk!

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
S
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Maybe something very small like this somewhere before important stuff (tm) starts happening:

if sys.platform == "win32":
   win32 = true

Then we could call windows specific code with a simple

if win32:
  doWindowsCodeHere

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.