-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
55 lines (52 loc) · 1.75 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
import os.path
from setuptools import setup
here = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(here, 'README.md')) as f:
long_description = f.read()
setup(
name='bravado-types',
use_scm_version=True,
license="MIT License",
description="Tool to generate MyPy type stubs for Bravado-generated "
"classes to support static type checking.",
author="Nicholas Gaya",
author_email="[email protected]",
url="https://github.com/nickgaya/bravado-types",
long_description=long_description,
long_description_content_type='text/markdown',
packages=["bravado_types"],
package_data={
'bravado_types': ['py.typed', 'templates/*.mako'],
},
# According to the documentation, this is needed to ensure MyPy can
# detect the py.typed file. See
# https://mypy.readthedocs.io/en/latest/installed_packages.html
zip_safe=False,
classifiers=[
"Topic :: Software Development :: Code Generators",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Typing :: Typed",
],
setup_requires=[
'setuptools_scm',
],
install_requires=[
'bravado>=10.3.0',
'bravado-core>=5.14.0',
# Template rendering library
'mako',
# Used for accessing package resources
'setuptools',
],
entry_points={
'console_scripts': [
'bravado-types = bravado_types.__main__:main',
],
},
)