[SOLVED] Using a file in the Package directory
Published: June 7, 2024 - 2:44 PM
Good morning,
When creating a package for an installation that requires running a command and for which this command calls files, is it possible to put these files in the directory that contains the setup.py file and call them in the install() function?
Let's say I have an install.exe file and a conf.xml file, which I put with setup.py. Is it possible to do something like this in my install() function:
I tried exactly that and it doesn't work, so my question is more about how to accomplish this kind of thing.
Thank you in advance for your feedback
When creating a package for an installation that requires running a command and for which this command calls files, is it possible to put these files in the directory that contains the setup.py file and call them in the install() function?
Let's say I have an install.exe file and a conf.xml file, which I put with setup.py. Is it possible to do something like this in my install() function:
Code: Select all
run_as_administrator('install.exe /config conf.xml')Thank you in advance for your feedback