Linux PyQt tray application to control OctoPrint instances
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

setup_mac.py 754B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from setuptools import setup
  4. APP = ['octotray.py']
  5. APP_NAME = "OctoTray"
  6. DATA_FILES = ['octotray_icon.png']
  7. OPTIONS = {
  8. 'argv_emulation': True,
  9. 'iconfile': 'octotray_icon.png',
  10. 'plist': {
  11. 'CFBundleName': APP_NAME,
  12. 'CFBundleDisplayName': APP_NAME,
  13. 'CFBundleGetInfoString': "Control OctoPrint instances from system tray",
  14. 'CFBundleIdentifier': "de.xythobuz.octotray",
  15. 'CFBundleVersion': "0.3.0",
  16. 'CFBundleShortVersionString': "0.3.0",
  17. 'NSHumanReadableCopyright': u"Copyright © 2021, Thomas Buck, All Rights Reserved"
  18. }
  19. }
  20. setup(
  21. app=APP,
  22. data_files=DATA_FILES,
  23. options={'py2app': OPTIONS},
  24. setup_requires=['py2app'],
  25. )