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 524B

12345678910111213141516171819202122232425262728293031
  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. "PyQt5",
  11. "PyQt5.QtCore",
  12. "PyQt5.QtGui",
  13. "PyQt5.QtNetwork",
  14. "PyQt5.QtWidgets"
  15. ]
  16. OPTIONS = {
  17. "bundle_files": 1,
  18. "includes": includes
  19. }
  20. setup(
  21. name=APP_NAME,
  22. version=VERSION,
  23. windows=[ { "script": "octotray.py" } ],
  24. data_files=DATA_FILES,
  25. options={ 'py2exe': OPTIONS }
  26. )