[pywin32-bugs] [ pywin32-Bugs-1053745 ] PythonPath no longer set by installer.
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-11-01 08:47:17
|
Bugs item #1053745, was opened at 2004-10-25 16:03 Message generated for change (Comment added) made by ogiesen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1053745&group_id=78018 Category: installation Group: None >Status: Open Resolution: None Priority: 5 Submitted By: Oliver Giesen (ogiesen) Assigned to: Nobody/Anonymous (nobody) Summary: PythonPath no longer set by installer. Initial Comment: I have meant to report this ever since the first 20x release but somehow never got around to it: Before the 20x releases the installer used to add the extensions to the PythonPath as sub-entries win32 and win32com respectively. This no longer is the case and as a result my WinCvs macros that make use of the extensions no longer work unless I add the extensions to the PythonPath manually. Is there something I have missed? Is there some other way to make the extensions "publicly importable" nowadays? ---------------------------------------------------------------------- >Comment By: Oliver Giesen (ogiesen) Date: 2004-11-01 09:47 Message: Logged In: YES user_id=158827 Yes, that file is there and it does obviously get taken into account when I run Python scripts via python.exe, however, that's not what I do most of the time. Most of the time my scripts are run via Python23.dll (as macros embedded in WinCvs) and AFAICT that does not take into account the pywin32.pth file. This only works if the path is actually set in the PythonPath registry key, i.e. HKLM\SOFTWARE\Python\PythonCore\2.3\PythonPath . I'm simply a bit confused because I'm really sure that I never had to manually edit the PythonPath with the pre-200 installers. Was there a specific reason why this functionality has been removed from the installers? Or could this be a problem of the way WinCvs embeds Python? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2004-10-26 01:04 Message: Logged In: YES user_id=14198 There should be a pywin32.pth file installed into your site-packages directory. Python loads this as it starts up - unless you have told Python not to process site.py You should be able to confirm this by running python.exe and printing sys.path ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1053745&group_id=78018 |