mirror of
https://github.com/Shawn-Shan/fawkes.git
synced 2026-06-12 21:50:46 +05:30
endpoint api
Former-commit-id: 101c0d4cfbfe62d873a289a1ba1ccb47bdbd66f5 [formerly 57e917cb08f4219a703fbdab6e782490077e8480] Former-commit-id: 6a0071b5ca45c7651f3aceb952a0eebddfcc6897
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import sys
|
||||
|
||||
if sys.version_info < (3, 0):
|
||||
# Python 2
|
||||
import Tkinter as tk
|
||||
else:
|
||||
# Python 3
|
||||
import tkinter as tk
|
||||
root = tk.Tk()
|
||||
root.title("Sandwich")
|
||||
tk.Button(root, text="Make me a Sandwich").pack()
|
||||
tk.mainloop()
|
||||
@@ -0,0 +1,12 @@
|
||||
from setuptools import setup
|
||||
|
||||
APP = ['Sandwich.py']
|
||||
DATA_FILES = []
|
||||
OPTIONS = {'argv_emulation': True}
|
||||
|
||||
setup(
|
||||
app=APP,
|
||||
data_files=DATA_FILES,
|
||||
options={'py2app': OPTIONS},
|
||||
setup_requires=['py2app'],
|
||||
)
|
||||
Reference in New Issue
Block a user