Did I find the right examples for you? yes no

All Samples(19)  |  Call(0)  |  Derive(8)  |  Import(11)
Abstract base class for defining command classes, the "worker bees"
of the Distutils.  A useful analogy for command classes is to think of
them as subroutines with local variables called "options".  The options
are "declared" in 'initialize_options()' and "defined" (given their
final values, aka "finalized") in 'finalize_options()', both of which
must be defined by every command class.  The distinction between the
two is necessary because option values might come from the outside
world (command line, config file, ...), and any options dependent on
other options must be computed *after* these outside influences have
been processed -- hence 'finalize_options()'.  The "body" of the(more...)

src/m/e/merlin-1-1.0/merlin/command/egg_info.py   merlin(Download)
# This module should be kept compatible with Python 2.3
import os, re
from merlin import Command
from distutils.errors import *
from distutils import log
class egg_info(Command):
    description = "create a distribution's .egg-info directory"
 
    user_options = [
        ('egg-base=', 'e', "directory containing .egg-info directories"

src/m/e/merlin-1-1.0/merlin/command/egg_flags.py   merlin(Download)
 
 
from merlin import Command
#from merlin.command.easy_install import easy_install
 
 
class egg_flags(Command):

src/m/e/merlin-1-1.0/merlin/command/bdist_egg.py   merlin(Download)
# This module should be kept compatible with Python 2.3
import sys, os, marshal
from merlin import Command
from distutils.dir_util import remove_tree, mkpath
from distutils.sysconfig import get_python_version, get_python_lib
class bdist_egg(Command):
 
    description = "create an \"egg\" distribution"
 
    user_options = [

src/m/e/merlin-1-1.0/merlin/command/install_egg_info.py   merlin(Download)
from merlin import Command
from merlin.archive_util import unpack_archive
from distutils import log, dir_util
import os, shutil, merlin
 
class install_egg_info(Command):

src/m/e/merlin-1-1.0/merlin/command/rotate.py   merlin(Download)
import distutils, os
from merlin import Command
from distutils.util import convert_path
from distutils import log
from distutils.errors import *
 
class rotate(Command):

src/m/e/merlin-1-1.0/merlin/command/setopt.py   merlin(Download)
import distutils, os
from merlin import Command
from distutils.util import convert_path
from distutils import log
from distutils.errors import *
class option_base(Command):
    """Abstract base class for commands that mess with config files"""
 
    user_options = [
        ('global-config', 'g',

src/m/e/merlin-1-1.0/merlin/command/easy_install.py   merlin(Download)
import sys, os.path, zipimport, shutil, tempfile, zipfile, re, stat, random
from glob import glob
from merlin import Command
from merlin.sandbox import run_setup
from distutils import log, dir_util
class easy_install(Command):
    """Manage a download/build/install process"""
    description = "Find/get/install Python packages"
    command_consumes_arguments = True
 

src/m/e/merlin-1-1.0/merlin/command/saveopts.py   merlin(Download)
import distutils, os
from merlin import Command
from merlin.command.setopt import edit_config, option_base
 
class saveopts(option_base):

src/m/e/merlin-1-1.0/merlin/command/alias.py   merlin(Download)
import distutils, os
from merlin import Command
from distutils.util import convert_path
from distutils import log
from distutils.errors import *

src/m/e/merlin-1-1.0/merlin/command/test.py   merlin(Download)
from merlin import Command
from distutils.errors import DistutilsOptionError
import sys
from merlin import *
from unittest import TestLoader, main
class test(Command):
 
    """Command to run unit tests after in-place build"""
 
    description = "run unit tests after in-place build"