mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Template for writing Distutils command modules.
This commit is contained in:
parent
86ee81e34b
commit
2c067ef904
1 changed files with 39 additions and 0 deletions
39
Lib/distutils/command/command_template
Normal file
39
Lib/distutils/command/command_template
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
"""distutils.command.x
|
||||||
|
|
||||||
|
Implements the Distutils 'x' command."""
|
||||||
|
|
||||||
|
# created 2000/mm/dd, Greg Ward
|
||||||
|
|
||||||
|
__revision__ = "$Id$"
|
||||||
|
|
||||||
|
from distutils.core import Command
|
||||||
|
|
||||||
|
|
||||||
|
class x (Command):
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
user_options = [('', '',
|
||||||
|
""),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def initialize_options (self):
|
||||||
|
self. = None
|
||||||
|
self. = None
|
||||||
|
self. = None
|
||||||
|
|
||||||
|
# initialize_options()
|
||||||
|
|
||||||
|
|
||||||
|
def finalize_options (self):
|
||||||
|
|
||||||
|
# finalize_options()
|
||||||
|
|
||||||
|
|
||||||
|
def run (self):
|
||||||
|
|
||||||
|
|
||||||
|
# run()
|
||||||
|
|
||||||
|
# class x
|
||||||
Loading…
Add table
Add a link
Reference in a new issue