[skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156) stable
authorArthur Lutz <arthur.lutz@logilab.fr>
Mon, 08 Oct 2012 17:50:12 +0200
branchstable
changeset 8565 53c8cf9450b9
parent 8564 0e56f0c3fd1e
child 8566 76bcfb3c483d
[skeleton] add pypi classifiers in __pkginfo__ and setup.py (closes #2502156)
skeleton/__pkginfo__.py.tmpl
skeleton/setup.py
--- a/skeleton/__pkginfo__.py.tmpl	Tue Sep 18 17:04:44 2012 +0200
+++ b/skeleton/__pkginfo__.py.tmpl	Mon Oct 08 17:50:12 2012 +0200
@@ -16,6 +16,12 @@
 __depends__ =  %(dependencies)s
 __recommends__ = {}
 
+classifiers = [
+    'Environment :: Web Environment',
+    'Framework :: CubicWeb',
+    'Programming Language :: Python',
+    'Programming Language :: JavaScript',
+    ]
 
 from os import listdir as _listdir
 from os.path import join, isdir
--- a/skeleton/setup.py	Tue Sep 18 17:04:44 2012 +0200
+++ b/skeleton/setup.py	Mon Oct 08 17:50:12 2012 +0200
@@ -41,7 +41,7 @@
 
 # import required features
 from __pkginfo__ import modname, version, license, description, web, \
-     author, author_email
+     author, author_email, classifiers
 
 if exists('README'):
     long_description = file('README').read()
@@ -193,6 +193,7 @@
                  data_files = data_files,
                  ext_modules = ext_modules,
                  cmdclass = cmdclass,
+                 classifiers = classifiers,
                  **kwargs
                  )