Skip to content
This repository was archived by the owner on Nov 8, 2020. It is now read-only.

Commit 7be8c30

Browse files
authored
Merge pull request #14 from GhostofGoes/packaging-improvements
Packaging improvements
2 parents e901b97 + 3136c5e commit 7be8c30

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

setup.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# -*- coding: utf-8 -*-
22
import sys
3+
34
from setuptools import setup, find_packages
45

6+
57
classifiers = [
68
"Development Status :: 4 - Beta",
79
"Environment :: Console",
@@ -25,20 +27,25 @@
2527
"Topic :: Text Processing :: Markup",
2628
"Topic :: Utilities",
2729
]
28-
description = 'testing utility classes and functions for Sphinx extensions'
2930

3031
test_require = []
3132
if sys.version_info < (2, 7):
3233
test_require.append('unittest2')
33-
3434
if sys.version_info < (3, 3):
3535
test_require.append('mock')
3636

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+
3744
setup(
3845
name='sphinx-testing',
3946
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,
4249
classifiers=classifiers,
4350
keywords=['sphinx', 'testing'],
4451
author='Takeshi Komiya',
@@ -52,4 +59,5 @@
5259
'six',
5360
],
5461
tests_require=test_require,
62+
python_requires='>=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
5563
)

0 commit comments

Comments
 (0)