-
Notifications
You must be signed in to change notification settings - Fork 79
/
setup.py
59 lines (53 loc) · 1.81 KB
/
setup.py
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Don't import unicode_literals because of a bug in py2 setuptools
# where package_data is expected to be str and not unicode.
from __future__ import absolute_import, division, print_function
import sys
try:
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Try to use ez_setup, but if not, continue anyway. The import is known
# to fail when installing from a tar.gz.
print('Could not import ez_setup', file=sys.stderr)
from setuptools import setup
install_reqs = [
'ply>=3.4',
'six>=1.3.0',
'typing>=3.5.2',
]
with open('LICENSE') as f:
license = f.read()
dist = setup(
name='stone',
version='0.1',
description='Stone is an interface description language (IDL) for APIs.',
author='Ken Elkabany',
author_email='kelkabany@dropbox.com',
maintainer='Dropbox',
maintainer_email='dev-platform@dropbox.com',
url='https://github.com/dropbox/stone',
install_requires=install_reqs,
license=license,
zip_safe=False,
packages=['stone',
'stone.lang',
'stone.target',
'stone.target.python_rsrc'],
long_description=open('README.rst').read(),
platforms=['CPython 2.7', 'CPython 3.4', 'CPython 3.5'],
entry_points={
'console_scripts': ['stone=stone.cli:main'],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)