File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ However contributors are encouraged to add their own entries for their work.
6
6
7
7
Since build 222:
8
8
----------------
9
+ * pywin32.pth now arranges for the pywin32_system32 directory to be on
10
+ PATH to help with pypi installations (thanks to @xovian via #1153)
9
11
10
12
Since build 221:
11
13
----------------
Original file line number Diff line number Diff line change @@ -22,15 +22,11 @@ Note that PIP support is experimental.
22
22
You can install pywin32 via pip:
23
23
> pip install pywin32
24
24
25
- However, you almost certainly need to execute:
26
- > python Scripts/pywin32_postinstall.py -install
27
-
28
- after installation, or you will see various ImportErrors importing core
29
- modules.
25
+ Note that if you want to use pywin32 for "system wide" features, such as
26
+ registering COM objects or implementing Windows Services, then you must run
27
+ the following command from an elevated command prompt:
30
28
31
- Note that if you want to use pywin32 for "system wide" features, such as COM
32
- objects or Windows Services, then you must run the above command from an
33
- elevated command prompt.
29
+ > python Scripts/pywin32_postinstall.py -install
34
30
35
31
## Building from source
36
32
Building from source is extremely complicated due to the fact we support building
Original file line number Diff line number Diff line change 2
2
win32
3
3
win32\lib
4
4
Pythonwin
5
+ # Entries needed for a "portable" installations, where the post_install script
6
+ # isn't run, which would normally copy the pywin32 core DLL files to either
7
+ # the top of the python directory.
8
+ # We just stick the source of these DLLs directly on the PATH.
9
+ import os;os.environ["PATH"]+=(';'+os.path.join(sitedir,"pywin32_system32"))
You can’t perform that action at this time.
0 commit comments