Linux PyQt tray application to control OctoPrint instances
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

setup_mac.py 818B

1234567891011121314151617181920212223242526272829303132
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from setuptools import setup
  4. APP_NAME = "OctoTray"
  5. APP = [ 'octotray.py' ]
  6. DATA_FILES = [ 'octotray_icon.png' ]
  7. VERSION="0.3.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 instances from system tray",
  15. 'CFBundleIdentifier': "de.xythobuz.octotray",
  16. 'CFBundleVersion': VERSION,
  17. 'CFBundleShortVersionString': VERSION,
  18. 'NSHumanReadableCopyright': u"Copyright © 2021, 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. )