How to add Pywin32 modules to XBMC Python?
#1
How do I install pywin32 into the XBMC python module library?

I can't just run the executable, because it searches for a default python path which is not installed on the pc.
Reply
#2
Did you try this :
http://sourceforge.net/projects/pywin32/...p/download
I guess You have to run the setup.py inside the python envirmont of xbmc or you install
local python 2.4 on your computer and copy the generated file to python folder of xbmc
Reply
#3
Do you want to use this python functions to start a programm hidden ?
Use hstart.exe or the windows integrated scheduler ....
Reply
#4
no, I just want to be able to redistribute my program that uses the pywin32 api without the end-user having to install both the standard python 2.4 distribution and the pywin32 modules. Can someone walk me through how to install the pywin32 package into xbmc's python?
Reply
#5
*crickets chirping*
Reply
#6
I tried putting the pywin322.4 package in XBMC\system\python\lib\site-packages, and did a sys.path.append line to that directory, but still nothing.

Can someone throw me a bone?
Reply
#7
Eek
Reply
#8
You might take a look at how this uses xbmc internal python to pre-compile some python bits.

http://trac.xbmc.org/browser/trunk/lib/a...module.pil
http://trac.xbmc.org/browser/trunk/lib/a...e.pysqlite
Reply
#9
I'll take a look into that, thanks for the response, davilla!
Reply
#10
well, the code didn't seem to help - both use python.exe which isn't going to be in the xbmc's built-in python, and its code for Linux.

I might just have to cope with the fact that an end user will have to install both python 2.4 and pywin32 to their machines for my script to work Huh
Reply
#11
The win32 python build builds python.exe, so building pywin32 using path/to/python.exe pywin32 should do the trick on win32 as well?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
How to add Pywin32 modules to XBMC Python?0