[pywin32-bugs] [ pywin32-Bugs-2606821 ] setup.py fails
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-02-16 21:20:11
|
Bugs item #2606821, was opened at 2009-02-17 07:34 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2606821&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: Jacques Merde (jacques_merde) Assigned to: Nobody/Anonymous (nobody) Summary: setup.py fails Initial Comment: setup.py (pywin32-212.zip) fails when invoked from cygwin with Python 2.5.2 with the following messages: import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. ./setup.py: line 74: $'\r': command not found ./setup.py: line 76: $'try:\r': command not found ./setup.py: line 77: $'False\r': command not found ./setup.py: line 78: except: command not found ./setup.py: line 81: $'\r': command not found ./setup.py: line 83: from: command not found ./setup.py: line 84: from: command not found ./setup.py: line 85: from: command not found ./setup.py: line 86: from: command not found ./setup.py: line 87: from: command not found ./setup.py: line 88: from: command not found ./setup.py: line 89: $'try:\r': command not found ./setup.py: line 90: from: command not found ./setup.py: line 91: except: command not found ./setup.py: line 93: bdist_msi: command not found ./setup.py: line 94: $'try:\r': command not found ./setup.py: line 95: from: command not found ./setup.py: line 96: except: command not found ./setup.py: line 98: syntax error near unexpected token `(' ./setup.py: line 98: ` def get_build_version(): IMHO, setup.py should *not* fail, instead it should politely inform that cygwin installs are not supported. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2009-02-17 08:20 Message: The problem is cygwin doesn't like \r\n line endings. There is nothing I can do about that and no way I can make the script politely complain - cygwin will not even *start* the script so I can output an error. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2606821&group_id=78018 |