forked from sinacloud/sae-python-dev-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·38 lines (33 loc) · 962 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·38 lines (33 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os.path
from setuptools import setup, find_packages
VERSION = '1.3.2'
scripts = ['dev_server.py', 'saecloud', 'cloudsql.py']
if os.name == 'nt':
# XXX: shebang does not work on windows
BAT = 'saecloud.bat'
f = os.path.join(os.path.dirname(__file__), BAT)
open(f, 'w').write('@python "%~dp0\saecloud" %*')
scripts.append(BAT)
setup(
name = 'sae-python-dev',
version = VERSION,
author = 'SAE Python Team',
author_email = 'saemail@sina.cn',
description = ('SAE Python development server'),
install_requires = [
'Werkzeug',
'pip',
'PyYAML',
'argparse',
# XXX: The latest grizzled-python package is broken
'grizzled-python==1.0.1',
'sqlcmd',
'prettytable',
],
platforms='any',
url = "http://python.sinaapp.com",
packages=find_packages(),
package_data={'sae': ['channel.js']},
scripts = scripts,
zip_safe = False,
)