This repository has been archived by the owner on Jan 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py.mustache
43 lines (38 loc) · 1.6 KB
/
setup.py.mustache
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
"""A setup module for the GRPC {{{api.simplename}}} service.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import setuptools
from setuptools import setup, find_packages
install_requires = [
'oauth2client>={{{dependencies.auth.python.version}}}, <{{{dependencies.auth.python.next_version}}}',
'grpcio>={{{dependencies.grpc.python.version}}}, <{{{dependencies.grpc.python.next_version}}}',
'googleapis-common-protos[grpc]>={{{dependencies.googleapis_common_protos.python.version}}}, <{{{dependencies.googleapis_common_protos.python.next_version}}}'
]
setuptools.setup(
name='{{{api.name}}}-{{{api.version}}}',
version='{{{api.semantic_version}}}',
author='{{{api.author}}}',
author_email='{{{api.email}}}',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
description='GRPC library for the {{{api.simplename}}}-{{{api.version}}} service',
long_description=open('README.rst').read(),
install_requires=install_requires,
license='{{{api.license}}}',
packages=find_packages(),
namespace_packages=[{{#api.nsPackages}}'{{{.}}}', {{/api.nsPackages}}],
url='{{{api.homepage}}}'
)