mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fixed Packaing -> Packaging typo and added a couple comments on the setuptools/distutils abstract methods
This commit is contained in:
parent
c34c6b992f
commit
4afc820fd5
1 changed files with 7 additions and 2 deletions
9
setup.py
9
setup.py
|
@ -139,9 +139,11 @@ class WriteSaltVersion(Command):
|
|||
user_options = []
|
||||
|
||||
def initialize_options(self):
|
||||
"""Abstract method that is required to be overwritten"""
|
||||
pass
|
||||
|
||||
def finalize_options(self):
|
||||
"""Abstract method that is required to be overwritten"""
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
|
@ -161,15 +163,17 @@ class WriteSaltVersion(Command):
|
|||
# pylint: enable=E0602
|
||||
|
||||
|
||||
class WriteSaltSshPackaingFile(Command):
|
||||
class WriteSaltSshPackagingFile(Command):
|
||||
|
||||
description = 'Write salt\'s ssh packaging file'
|
||||
user_options = []
|
||||
|
||||
def initialize_options(self):
|
||||
"""Abstract method that is required to be overwritten"""
|
||||
pass
|
||||
|
||||
def finalize_options(self):
|
||||
"""Abstract method that is required to be overwritten"""
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
|
@ -318,6 +322,7 @@ class TestCommand(Command):
|
|||
self.runtests_opts = None
|
||||
|
||||
def finalize_options(self):
|
||||
"""Abstract method that is required to be overwritten"""
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
|
@ -610,7 +615,7 @@ class SaltDistribution(distutils.dist.Distribution):
|
|||
'sdist': Sdist,
|
||||
'install': Install,
|
||||
'write_salt_version': WriteSaltVersion,
|
||||
'write_salt_ssh_packaging_file': WriteSaltSshPackaingFile})
|
||||
'write_salt_ssh_packaging_file': WriteSaltSshPackagingFile})
|
||||
if not IS_WINDOWS_PLATFORM:
|
||||
self.cmdclass.update({'sdist': CloudSdist,
|
||||
'install_lib': InstallLib})
|
||||
|
|
Loading…
Add table
Reference in a new issue