Patches item #1929430, was opened at 2008-03-30 17:14
Message generated for change (Settings changed) made by wobsta
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=442888&aid=1929430&group_id=45430

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: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Sue Ann Koay (sueannkoay)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix: setup.py chokes on paths with forward slashes

Initial Comment:
Running setup.py on Windows, non-default paths (via the --home option) produces 
an error that had me stumped for the longest time:


byte-compiling 
C:\Software\ELog\xampplite\htdocs\osetology_wordpress\wp-content\plugins\lib\python\pyx\siteconfig.py
 to siteconfig.pyc
Sorry: ValueError: ('invalid \\x escape',)



This is solveable by a simple change in the type of string used in the 
configuration to raw:

Change line 131 of setup.py, i.e. the "def run(self)" for "class 
pyx_install_data(install_data)":


self.siteconfiglines.append("%s = r'%s'\n" % (siteconfignames[files], dir))


----------------------------------------------------------------------

>Comment By: Andre Wobst (wobsta)
Date: 2011-05-20 20:26

Message:
This issue has been resolved by the recent release 0.11, which removed
siteconfig altogether. PyX data files are now placed along the modules as
it is common practice in Python and most supported by distutils, setuptools
and the like.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=442888&aid=1929430&group_id=45430

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to