Back to index

enigmail  1.4.3
Public Member Functions | Static Public Attributes
build.manifestparser.SetupCLI Class Reference
Inheritance diagram for build.manifestparser.SetupCLI:
Inheritance graph
[legend]
Collaboration diagram for build.manifestparser.SetupCLI:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __call__
def parser

Static Public Attributes

string usage = '%prog [options] setup [setuptools options]'

Detailed Description

setup using setuptools

Definition at line 1006 of file manifestparser.py.


Member Function Documentation

def build.manifestparser.SetupCLI.__call__ (   self,
  options,
  args 
)

Definition at line 1016 of file manifestparser.py.

01016 
01017     def __call__(self, options, args):
01018         sys.argv = [sys.argv[0]] + args
01019         assert setup is not None, "You must have setuptools installed to use SetupCLI"
01020         here = os.path.dirname(os.path.abspath(__file__))
01021         try:
01022             filename = os.path.join(here, 'README.txt')
01023             description = file(filename).read()
01024         except:    
01025             description = ''
01026         os.chdir(here)
01027 
01028         setup(name='ManifestDestiny',
01029               version=version,
01030               description="Universal manifests for Mozilla test harnesses",
01031               long_description=description,
01032               classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
01033               keywords='mozilla manifests',
01034               author='Jeff Hammel',
01035               author_email='jhammel@mozilla.com',
01036               url='https://wiki.mozilla.org/Auto-tools/Projects/ManifestDestiny',
01037               license='MPL',
01038               zip_safe=False,
01039               py_modules=['manifestparser'],
01040               install_requires=[
01041                   # -*- Extra requirements: -*-
01042                   ],
01043               entry_points="""
01044               [console_scripts]
01045               manifestparser = manifestparser:main
01046               """,
01047               )
01048 

def build.manifestparser.CLICommand.parser (   self) [inherited]

Reimplemented in build.manifestparser.CreateCLI.

Definition at line 899 of file manifestparser.py.

00899 
00900     def parser(self):
00901       return OptionParser(usage=self.usage, description=self.__doc__,
00902                           add_help_option=False)

Here is the caller graph for this function:


Member Data Documentation

string build.manifestparser.SetupCLI.usage = '%prog [options] setup [setuptools options]' [static]

Reimplemented from build.manifestparser.CLICommand.

Definition at line 1014 of file manifestparser.py.


The documentation for this class was generated from the following file: