Enterprise policy: Ignore the deprecated ForceSafeSearch if ForceGoogleSafeSearch...
[chromium-blink-merge.git] / third_party / typ / setup.py
blob2c32a68591d55b00aa6c39d8ab1e964acf5fa122
1 # Copyright 2014 Google Inc. All rights reserved.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 import os
16 import sys
18 from setuptools import setup, find_packages
20 here = os.path.abspath(os.path.dirname(__file__))
21 if here not in sys.path:
22 sys.path.insert(0, here)
24 from typ.version import VERSION
26 with open(os.path.join(here, 'README.rst')) as fp:
27 readme = fp.read().strip()
29 readme_lines = readme.splitlines()
31 setup(
32 name='typ',
33 packages=find_packages(),
34 package_data={'': ['../README.rst']},
35 entry_points={
36 'console_scripts': [
37 'typ=typ.runner:main',
40 install_requires=[
42 version=VERSION,
43 author='Dirk Pranke',
44 author_email='dpranke@chromium.org',
45 description=readme_lines[3],
46 long_description=('\n' + '\n'.join(readme_lines)),
47 url='https://github.com/dpranke/typ',
48 license='Apache',
49 classifiers=[
50 'Development Status :: 3 - Alpha',
51 'Intended Audience :: Developers',
52 'License :: OSI Approved :: Apache',
53 'Programming Language :: Python :: 2',
54 'Programming Language :: Python :: 2.7',
55 'Programming Language :: Python :: 3',
56 'Programming Language :: Python :: 3.4',
57 'Topic :: Software Development :: Testing',