|
1 | 1 | # -*- coding: utf-8 -*-
|
2 | 2 | import sys
|
| 3 | + |
3 | 4 | from setuptools import setup, find_packages
|
4 | 5 |
|
| 6 | + |
5 | 7 | classifiers = [
|
6 | 8 | "Development Status :: 4 - Beta",
|
7 | 9 | "Environment :: Console",
|
|
25 | 27 | "Topic :: Text Processing :: Markup",
|
26 | 28 | "Topic :: Utilities",
|
27 | 29 | ]
|
28 |
| -description = 'testing utility classes and functions for Sphinx extensions' |
29 | 30 |
|
30 | 31 | test_require = []
|
31 | 32 | if sys.version_info < (2, 7):
|
32 | 33 | test_require.append('unittest2')
|
33 |
| - |
34 | 34 | if sys.version_info < (3, 3):
|
35 | 35 | test_require.append('mock')
|
36 | 36 |
|
| 37 | +with open('README.rst') as readme: |
| 38 | + long_description = readme.read() |
| 39 | +long_description += '\n\n' |
| 40 | +with open('CHANGES.rst') as changes: |
| 41 | + long_description += changes.read() |
| 42 | + |
| 43 | + |
37 | 44 | setup(
|
38 | 45 | name='sphinx-testing',
|
39 | 46 | version='1.0.1',
|
40 |
| - description=description, |
41 |
| - long_description=description, |
| 47 | + description='Testing utility classes and functions for Sphinx extensions', |
| 48 | + long_description=long_description, |
42 | 49 | classifiers=classifiers,
|
43 | 50 | keywords=['sphinx', 'testing'],
|
44 | 51 | author='Takeshi Komiya',
|
|
52 | 59 | 'six',
|
53 | 60 | ],
|
54 | 61 | tests_require=test_require,
|
| 62 | + python_requires='>=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', |
55 | 63 | )
|
0 commit comments