-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (19 loc) · 819 Bytes
/
setup.py
File metadata and controls
23 lines (19 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
from distutils.core import setup
from setuptools import setup
import sys
setup(name='gl',
#setup_requires=["py2app"],
version='0.2.37',
description='Get Localization Command-Line Interface',
author='Get Localization',
author_email='support@getlocalization.com',
url='http://www.getlocalization.com',
packages=['getlocalization', 'getlocalization.cli', 'getlocalization.api', 'getlocalization.api.files', 'getlocalization.api.client','getlocalization.api.data'],
scripts=['gl'],
#app=['gl.py']
)
if sys.platform == 'darwin':
extra_options = dict(setup_requires=["py2app"],app=['gl.py'],options=dict(py2app=dict(argv_emulation=True)))
elif sys.platform == 'win32':
extra_options = dict(setup_requires=['py2exe'],app=['gl.py'],)