Hello, I have a Python script, which uses xlwings, requests and a few more dependencies to create an MS Excel AddIn. This setup requires that I have a Python interpreter (wpython.exe) in a known location which will execute my .py entrypoint script.
Ideally I want to distribute the Python interpreter and dependencies with my application, so I have full control over versions and can update them together with my Python code when needed.
I thought about creating an installer with InnoSetup for this. However, its not clear to me how I distribute the Python interpreter and the dependencies (xlwings, requests, etc.) to that machine? I see there is a Python embedded distribution, that are just some files I can copy to the target and have an interpreter there. But then I still have to get the dependencies, which seems like a not so easy task with the embedded Python distribution…
Then I found PyInstaller, which first looked nice, but apparently it will result in a .exe file – which I don’t need. I need a Python interpreter which has my dependencies available.
submitted by /u/extractedx
[link] [comments]
r/learnpython Hello, I have a Python script, which uses xlwings, requests and a few more dependencies to create an MS Excel AddIn. This setup requires that I have a Python interpreter (wpython.exe) in a known location which will execute my .py entrypoint script. Ideally I want to distribute the Python interpreter and dependencies with my application, so I have full control over versions and can update them together with my Python code when needed. I thought about creating an installer with InnoSetup for this. However, its not clear to me how I distribute the Python interpreter and the dependencies (xlwings, requests, etc.) to that machine? I see there is a Python embedded distribution, that are just some files I can copy to the target and have an interpreter there. But then I still have to get the dependencies, which seems like a not so easy task with the embedded Python distribution… Then I found PyInstaller, which first looked nice, but apparently it will result in a .exe file – which I don’t need. I need a Python interpreter which has my dependencies available. submitted by /u/extractedx [link] [comments]
Hello, I have a Python script, which uses xlwings, requests and a few more dependencies to create an MS Excel AddIn. This setup requires that I have a Python interpreter (wpython.exe) in a known location which will execute my .py entrypoint script.
Ideally I want to distribute the Python interpreter and dependencies with my application, so I have full control over versions and can update them together with my Python code when needed.
I thought about creating an installer with InnoSetup for this. However, its not clear to me how I distribute the Python interpreter and the dependencies (xlwings, requests, etc.) to that machine? I see there is a Python embedded distribution, that are just some files I can copy to the target and have an interpreter there. But then I still have to get the dependencies, which seems like a not so easy task with the embedded Python distribution…
Then I found PyInstaller, which first looked nice, but apparently it will result in a .exe file – which I don’t need. I need a Python interpreter which has my dependencies available.
submitted by /u/extractedx
[link] [comments]