Permalink
Browse files

changed setup.py to use the proper classifiers

bumped version to beta3
  • Loading branch information...
1 parent 62e5d71 commit 6fba0e25d3936ea4b040a5c1dc907e863bcb9a90 ojii committed May 14, 2010
Showing with 21 additions and 13 deletions.
  1. +1 −1 cms/__init__.py
  2. +20 −12 setup.py
View
@@ -1,4 +1,4 @@
-VERSION = (2, 1, 0, 'beta2')
+VERSION = (2, 1, 0, 'beta3')
if VERSION[-1] != "final":
__version__ = '.'.join(map(str, VERSION))
else:
View
@@ -14,6 +14,25 @@
if failed:
continue
media_files.append(os.path.join(*filepath.split(os.sep)[1:]))
+
+if cms.VERSION[-1] == 'final':
+ CLASSIFIERS = ['Development Status :: 5 - Stable']
+elif 'beta' in cms.VERSION[-1]:
+ CLASSIFIERS = ['Development Status :: 4 - Beta']
+else:
+ CLASSIFIERS = ['Development Status :: 3 - Alpha']
+
+CLASSIFIERS += [
+ 'Environment :: Web Environment',
+ 'Framework :: Django',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ 'Topic :: Software Development',
+ 'Topic :: Software Development :: Libraries :: Application Frameworks',
+]
setup(
author="Patrick Lauber",
@@ -25,18 +44,7 @@
url='http://www.django-cms.org/',
license='BSD License',
platforms=['OS Independent'],
- classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- 'Framework :: Django',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python',
- 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
- 'Topic :: Software Development',
- 'Topic :: Software Development :: Libraries :: Application Frameworks',
- ],
+ classifiers=CLASSIFIERS,
requires=[
'django (>1.1.0)',
],

0 comments on commit 6fba0e2

Please sign in to comment.