Skip to content

Commit

Permalink
Rollback setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ClumsyLee committed Sep 16, 2015
1 parent a385d0d commit 12b7e6b
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions src/setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
"""
This is a setup.py script generated by py2applet
from cx_Freeze import setup, Executable

Usage:
python setup.py py2app
"""
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=['keyring'],
excludes=[],
include_files=['config.yml'],
icon='icon.ico',
compressed=True)

from setuptools import setup
import sys
base = 'Win32GUI' if sys.platform=='win32' else None

APP = ['application.py']
DATA_FILES = []
OPTIONS = {'argv_emulation': True}
executables = [
Executable('application.py', base=base, targetName='net_dot_tsinghua.exe')
]

setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
setup(name='net.tsinghua',
version = '0.1',
description = 'A cross-platform auto-login utility for tsinghua students.',
options = dict(build_exe = buildOptions),
executables = executables)

0 comments on commit 12b7e6b

Please sign in to comment.