compatible with py2exe; lint code

This commit is contained in:
clowwindy 2013-06-13 01:01:33 +08:00
parent cb26bb96ca
commit f18d6cd2f8
3 changed files with 33 additions and 4 deletions

19
packaging/py2exe/setup.py Normal file
View file

@ -0,0 +1,19 @@
from distutils.core import setup
# NOTICE!!
# This setup.py is written for py2exe
# Don't make a python package using this file!
try:
import py2exe
except ImportError:
pass
setup(name='shadowsocks',
version='1.2.2',
description='a lightweight tunnel proxy which can help you get through firewalls',
author='clowwindy',
author_email='clowwindy42@gmail.com',
url='https://github.com/clowwindy/shadowsocks',
options = {'py2exe': {'bundle_files': 1, 'compressed': True}},
windows = [{"script":"local.py", "dest_base": "shadowsocks_local",}],
zipfile = None)