Added new build scripts for mac.
This commit is contained in:
parent
277b3bc4ca
commit
3afea21cce
4 changed files with 33 additions and 46 deletions
22
build_mac_setup.py
Normal file
22
build_mac_setup.py
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
"""
|
||||
This is a setup.py script generated by py2applet
|
||||
|
||||
Usage:
|
||||
python setup.py py2app
|
||||
"""
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
APP = ['main.py']
|
||||
DATA_FILES = ['files']
|
||||
OPTIONS = {
|
||||
'iconfile': 'icon.icns',
|
||||
'includes': ['PySide.QtCore', 'PySide.QtGui', 'PySide.QtNetwork', 'configobj'],
|
||||
}
|
||||
|
||||
setup(
|
||||
app=APP,
|
||||
data_files=DATA_FILES,
|
||||
options={'py2app': OPTIONS},
|
||||
setup_requires=['py2app'],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue