You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by ad...@apache.org on 2014/02/22 20:39:03 UTC

svn commit: r1570888 - /labs/panopticon/setup.py

Author: adc
Date: Sat Feb 22 19:39:03 2014
New Revision: 1570888

URL: http://svn.apache.org/r1570888
Log:
Classes should be camel case

Modified:
    labs/panopticon/setup.py

Modified: labs/panopticon/setup.py
URL: http://svn.apache.org/viewvc/labs/panopticon/setup.py?rev=1570888&r1=1570887&r2=1570888&view=diff
==============================================================================
--- labs/panopticon/setup.py (original)
+++ labs/panopticon/setup.py Sat Feb 22 19:39:03 2014
@@ -28,7 +28,7 @@ from setuptools import find_packages, se
 VERSION = '1.0'
 
 
-class doc(Command):
+class Doc(Command):
     description = 'generate or test documentation'
     user_options = [('test', 't', 'run doctests instead of generating documentation')]
     boolean_options = ['test']
@@ -61,7 +61,7 @@ class doc(Command):
                          '   %s/\n' % (mode, path))
 
 
-class test(Command):
+class Test(Command):
     description = 'run nosetests'
     user_options = [('verbose', 'v', 'run nosetests with -v option')]
     boolean_options = ['verbose']
@@ -124,5 +124,5 @@ setup(
         'Programming Language :: Python :: 2.6',
         'Topic :: Software Development :: Libraries :: Python Modules'
     ],
-    cmdclass={'doc': doc, 'test': test},
+    cmdclass={'doc': Doc, 'test': Test},
 )



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org