add trove classifiers (tell about python 3 support for pypi)

authorSylvain Thénault <sylvain.thenault@logilab.fr>
changeset711e69e4d80e
branchstable
phasepublic
hiddenno
parent revision#5f26678ed5bc default is stable
child revision#301a4b1cc7a7 default is stable
files modified by this revision
__pkginfo__.py
setup.py
# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1328027525 -3600
# Tue Jan 31 17:32:05 2012 +0100
# Branch stable
# Node ID 711e69e4d80e14cd3b9ef87ff6f566e9473a4879
# Parent 5f26678ed5bcc09bde25fcc0b2f4ced61a5e75d9
add trove classifiers (tell about python 3 support for pypi)

diff --git a/__pkginfo__.py b/__pkginfo__.py
@@ -1,6 +1,6 @@
1 -# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
2 +# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
3  # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
4  # copyright 2003-2010 Sylvain Thenault, all rights reserved.
5  # contact mailto:thenault@gmail.com
6  #
7  # This file is part of logilab-astng.
@@ -40,5 +40,12 @@
8  description = "rebuild a new abstract syntax tree from Python's ast"
9 
10  from os.path import join
11  include_dirs = [join('test', 'regrtest_data'),
12                  join('test', 'data'), join('test', 'data2')]
13 +
14 +classifiers = ["Topic :: Software Development :: Libraries :: Python Modules",
15 +               "Topic :: Software Development :: Quality Assurance",
16 +               "Programming Language :: Python",
17 +               "Programming Language :: Python :: 2",
18 +               "Programming Language :: Python :: 3",
19 +               ]
diff --git a/setup.py b/setup.py
@@ -58,10 +58,11 @@
20  subpackage_of = getattr(__pkginfo__, 'subpackage_of', None)
21  include_dirs = getattr(__pkginfo__, 'include_dirs', [])
22  ext_modules = getattr(__pkginfo__, 'ext_modules', None)
23  install_requires = getattr(__pkginfo__, 'install_requires', None)
24  dependency_links = getattr(__pkginfo__, 'dependency_links', [])
25 +classifiers = getattr(__pkginfo__, 'classifiers', [])
26 
27  STD_BLACKLIST = ('CVS', '.svn', '.hg', 'debian', 'dist', 'build')
28 
29  IGNORED_EXTENSIONS = ('.pyc', '.pyo', '.elc', '~')
30 
@@ -153,10 +154,11 @@
31      return setup(name = distname,
32                   version = version,
33                   license = license,
34                   description = description,
35                   long_description = long_description,
36 +                 classifiers = classifiers,
37                   author = author,
38                   author_email = author_email,
39                   url = web,
40                   scripts = ensure_scripts(scripts),
41                   data_files = data_files,