How to run Sphinx in a standalone program?

  inno-setup, py2exe, pyinstaller, python, sphinx

I’m quite new to python and doing my first standalone program.
I want to create an automatic documentation generator using Sphinx. My idea is to use a GUI to get from the user, through a filedialog, a python file to be automatically documented. I’m thinking to use py2exe or PyInstaller (or similar) and Inno-setup to make the installation of all needed files and programs to make it very user-friendly. I want that my program deals with Sphinx configurations and commands without interactions with the user.
How can I include Sphinx in a standalone program? More specifically, how can I run the sphinx-build command from my script or executable program?

Source: Python Questions

LEAVE A COMMENT