Linux PyQt tray application to control OctoPrint instances
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup_win.py 553B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import py2exe
  4. from distutils.core import setup
  5. APP_NAME = "OctoTray"
  6. APP = [ 'octotray.py' ]
  7. DATA_FILES = [ 'octotray_icon.png' ]
  8. VERSION="0.3"
  9. includes = [
  10. "sip",
  11. "PyQt5",
  12. "PyQt5.QtCore",
  13. "PyQt5.QtGui",
  14. "PyQt5.QtNetwork",
  15. "PyQt5.QtWidgets"
  16. ]
  17. OPTIONS = {
  18. "bundle_files": 1,
  19. "includes": includes
  20. }
  21. setup(
  22. name=APP_NAME,
  23. version=VERSION,
  24. windows=[ { "script": "octotray.py" } ],
  25. data_files=DATA_FILES,
  26. zipfile=None,
  27. options={ 'py2exe': OPTIONS }
  28. )