|
1 | 1 | # -*- coding: utf-8 -*-
|
2 | 2 |
|
3 |
| -from setuptools import setup, find_packages |
| 3 | +try: |
| 4 | + from setuptools import setup |
| 5 | +except ImportError: |
| 6 | + from distutils.core import setup |
4 | 7 |
|
5 | 8 |
|
6 | 9 | with open('README.rst') as f:
|
|
11 | 14 |
|
12 | 15 | setup(
|
13 | 16 | name='whatthepatch',
|
14 |
| - version='0.0.2', |
15 |
| - description='A patch parsing library', |
| 17 | + version='0.0.3', |
| 18 | + description='A patch parsing library.', |
16 | 19 | long_description=readme,
|
17 | 20 | author='Christopher S. Corley',
|
18 | 21 |
|
19 | 22 | url='https://github.com/cscorley/whatthepatch',
|
20 | 23 | license=license,
|
21 |
| - packages=find_packages(exclude=('tests', 'docs')), |
22 |
| - keywords = [ |
| 24 | + packages=['whatthepatch'], |
| 25 | + keywords=[ |
23 | 26 | "patch",
|
24 | 27 | "diff",
|
25 | 28 | "parser",
|
26 | 29 | ],
|
27 | 30 | classifiers=[
|
28 |
| - "Programming Language :: Python", |
29 |
| - "Programming Language :: Python :: 2", |
30 |
| - "Programming Language :: Python :: 3", |
31 | 31 | "Operating System :: OS Independent",
|
32 | 32 | "License :: OSI Approved :: MIT License",
|
33 | 33 | "Development Status :: 3 - Alpha",
|
|
37 | 37 | "Topic :: Software Development :: Libraries :: Python Modules",
|
38 | 38 | "Topic :: Software Development :: Version Control",
|
39 | 39 | "Topic :: Text Processing",
|
40 |
| - ], |
| 40 | + "Programming Language :: Python", |
| 41 | + "Programming Language :: Python :: 2", |
| 42 | + "Programming Language :: Python :: 2.6", |
| 43 | + "Programming Language :: Python :: 2.7", |
| 44 | + "Programming Language :: Python :: 3", |
| 45 | + "Programming Language :: Python :: 3.3", |
| 46 | + "Programming Language :: Python :: 3.4", |
| 47 | + ], |
41 | 48 | )
|
42 | 49 |
|
0 commit comments