9

I'm developing a Python package and have about 10 demo Python scripts that show its capabilities.

I want to distribute the demo scripts with PyInstaller: create 10 exe files and put them in one folder with all libraries they depend on.

Cannot you tell me, how can it be done?

Felix
  • 2,949
  • 5
  • 31
  • 55
  • 1
    Umm, create them at different folders then copy+paste to the same folder? – Taku Apr 06 '17 at 14:52
  • I was looking for the same question. The crux is does each program have to be a standalone 7Mb+ exe or can you have something like a dll? – hum3 Feb 17 '18 at 10:11

2 Answers2

2

This feature is present in pyinstaller, but unfortunately it is broken in since version 3.0

This bug report states it will not be included in the 3.4 release either.

Ber
  • 37,567
  • 15
  • 65
  • 82
  • 3
    As of Apr 9, 2020, [a fix has been merged](https://github.com/pyinstaller/pyinstaller/pull/4303). If you got here like I did, [this link will take you to the updated documentation](https://pyinstaller.readthedocs.io/en/latest/spec-files.html#multipackage-bundles) for this feature. – maldata May 07 '21 at 21:15
0

py2exe can do this. I found it a little harder to use than pyinstaller but for this application is probably right.

This has been answered in another stackoverflow question and I suggest going there for more details.

hum3
  • 1,333
  • 13
  • 17