OLD | NEW |
| (Empty) |
1 # Copyright 2014 Google Inc. All rights reserved. | |
2 # | |
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 | |
6 # | |
7 # http://www.apache.org/licenses/LICENSE-2.0 | |
8 # | |
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. | |
14 | |
15 import os | |
16 import sys | |
17 | |
18 from setuptools import setup, find_packages | |
19 | |
20 here = os.path.abspath(os.path.dirname(__file__)) | |
21 if here not in sys.path: | |
22 sys.path.insert(0, here) | |
23 | |
24 from typ.version import VERSION | |
25 | |
26 with open(os.path.join(here, 'README.rst')) as fp: | |
27 readme = fp.read().strip() | |
28 | |
29 readme_lines = readme.splitlines() | |
30 | |
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', | |
38 ] | |
39 }, | |
40 install_requires=[ | |
41 ], | |
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 Software License', | |
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', | |
58 ], | |
59 ) | |
OLD | NEW |