Skip to content

Commit

Permalink
Add supported Python version classifiers to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Mar 22, 2013
1 parent b7dd7af commit 82398f4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
@@ -1,10 +1,13 @@
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
install:
- python bootstrap.py
- bin/buildout
script:
- bin/test -v1
- bin/test -v
notifications:
email: false
3 changes: 3 additions & 0 deletions CHANGES.txt
Expand Up @@ -7,6 +7,9 @@ CHANGES

- Support and require zc.buildout 2.0.

- Add supported Python version (3.6, 2.7, 3.2, 3.3) classifiers to
setup.py


0.6 (2012-09-07)
----------------
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Expand Up @@ -45,6 +45,10 @@ def read(*rnames):
"License :: OSI Approved :: Zope Public License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Framework :: Buildout",
"Topic :: Software Development :: Build Tools",
"Topic :: Text Editors :: Emacs",
Expand Down
7 changes: 4 additions & 3 deletions src/z3c/recipe/tag/tests.py
Expand Up @@ -62,8 +62,8 @@ def tearDown(test):
zc.buildout.testing.normalize_path,
# zope.whatever-1.2.3-py2.7.egg -> zope.whatever-pyN.N.egg
(re.compile('-[^ /]+-py\d[.]\d(-\S+)?.egg'), '-pyN.N.egg'),
# #!/path/to/whatever/python -> #!/usr/bin/python
(re.compile('#![^\n]+/python'), '#!/usr/bin/python'),
# #!/path/to/whatever/python3.2mu -> #!/usr/bin/python
(re.compile('#![^\n]+/python[0-9.mu]*'), '#!/usr/bin/python'),
# location of this source tree
(re.compile("""['"][^\n"']+z3c.recipe.tag[^\n"']*['"],"""),
"'/z3c.recipe.tag/src',"),
Expand All @@ -83,5 +83,6 @@ def test_suite():
return unittest.TestSuite([
doctest.DocTestSuite(
setUp=setUp, tearDown=tearDown, checker=checker,
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS|
doctest.REPORT_NDIFF),
])

0 comments on commit 82398f4

Please sign in to comment.