summaryrefslogtreecommitdiff
path: root/setuptools/command/alias.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-02-09 18:41:55 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-02-09 18:41:55 -0500
commita31410a54b0e756c3ee27f2bcfe2dd6301968c77 (patch)
treefe5b7ef6e962c66486748e174e6bf624cd234ef6 /setuptools/command/alias.py
parentc20ed4dffd0779fc12c9b2fbc6433621424dbfcf (diff)
downloadpython-setuptools-git-a31410a54b0e756c3ee27f2bcfe2dd6301968c77.tar.gz
Remove excess whitespace and unused imports.
Diffstat (limited to 'setuptools/command/alias.py')
-rwxr-xr-xsetuptools/command/alias.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/setuptools/command/alias.py b/setuptools/command/alias.py
index 52384e1a..465d6ae4 100755
--- a/setuptools/command/alias.py
+++ b/setuptools/command/alias.py
@@ -1,7 +1,3 @@
-import distutils, os
-from setuptools import Command
-from distutils.util import convert_path
-from distutils import log
from distutils.errors import *
from setuptools.command.setopt import edit_config, option_base, config_file
@@ -11,17 +7,17 @@ def shquote(arg):
if c in arg: return repr(arg)
if arg.split() != [arg]:
return repr(arg)
- return arg
+ return arg
class alias(option_base):
"""Define a shortcut that invokes one or more commands"""
-
+
description = "define a shortcut to invoke one or more commands"
command_consumes_arguments = True
user_options = [
- ('remove', 'r', 'remove (unset) the alias'),
+ ('remove', 'r', 'remove (unset) the alias'),
] + option_base.user_options
boolean_options = option_base.boolean_options + ['remove']
@@ -77,6 +73,3 @@ def format_alias(name, aliases):
else:
source = '--filename=%r' % source
return source+name+' '+command
-
-
-