pywin32
thisisthereadmeforthepythonforwin 32 (py win32 )扩展,whichprovidesaccesstomanyofthewindowsapisfrompython。
seechanges.txtforrecentnotablechanges。
Note that as of build 222,pywin32 has a new home at github。
youcanfindbuild 221 andlaterongithubandolderversionscanbefoundon
the old project home at sourceforge
A special shout-outto @ xoviatwhoprovidedenormoushelpwithegithubmove!
支持
Feel free to open issues for
allbugs(orsuspectedbugs ) in pywin32. pull-requests
forallbugsorfeaturesarealsowelcome
However,pleasedonotopengithubissuesforgeneralsupportrequests,or
forproblemsorquestionsusingthemodulesinthispackage-they will be
closed. For such issues,please email the
python-win32邮件列表-
notethatyoumustbesubscribedtothelistbeforeposting。
比内利斯
byfartheeasiestwaytousepywin 32 istograbbinariesfromthemostrecentrelease
Installing via PIP
notethatpipsupportisexperimental。
youcaninstallpywin 32 via pip :
pip install pywin32
notethatifyouwanttousepywin 32 for ' system wide ' features,such as
registeringcomobjectsorimplementingwindowsservices,then you must run
thefollowingcommandfromanelevatedcommandprompt :
python scripts/py win32 _ post install.py-install
从构建源
buildingfromsourceisextremelycomplicatedduetothefactwesupportbuilding
oldversionsofpythonusingoldversionsofwindowssdks.ifyoujustwantto
build the most recent version,youcanprobablygetawaywithinstallingth
samemsvcversionusedtobuildthatversionofpython,grabbing a recent
Windows SDK and running setup.py
setup.pyisastandarddistutilsbuildscript.youprobablywant :
python setup.py install
或
python setup.py --help
youcanrunsetup.pywithoutanyargumentstosee
specificinformationaboutdependencies.avanillamsvcinstallationshould
beabletobuildmostextensionsandlistanyextensionsthatcouldnotbe
builtduetomissinglibraries-ifthebuildactuallyfailswithyour
配置,please open an issue。
发放流程
thefollowingstepsareperformedwhenmakinganewrelease-this is mainly
toformachecklistsomhammonddoesn ' tforgetwhattodo : )
ensure changes.txthaseverythingworthnoting,commit it。
更新设置. pywiththenewbuildnumber。
Execute build.bat、wait forever和test the artifacts。
commit setup.py (sothenewbuildnumberisintherepo ),create a new git tag
upload the.exeinstallerstogithub,the .whl files to pypi。
update setup.pywiththenewbuildnumber '.1 ' (eg,123.1 ),to ensure
futuretestbuildsaren ' tmistakenfortherealrelease。
Send mail to python-win32