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_mac.py 831B

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