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