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
bcca1b4c5a
commit
33ed315c85
1 changed files with 16 additions and 6 deletions
22
setup.py
22
setup.py
|
@ -138,10 +138,14 @@ class WriteSaltVersion(Command):
|
|||
description = 'Write salt\'s hardcoded version file'
|
||||
|
||||
def initialize_options(self):
|
||||
pass
|
||||
'''
|
||||
Abstract method that is required to be overwritten
|
||||
'''
|
||||
|
||||
def finalize_options(self):
|
||||
pass
|
||||
'''
|
||||
Abstract method that is required to be overwritten
|
||||
'''
|
||||
|
||||
def run(self):
|
||||
if not os.path.exists(SALT_VERSION_HARDCODED):
|
||||
|
@ -160,15 +164,19 @@ class WriteSaltVersion(Command):
|
|||
# pylint: enable=E0602
|
||||
|
||||
|
||||
class WriteSaltSshPackaingFile(Command):
|
||||
class WriteSaltSshPackagingFile(Command):
|
||||
|
||||
description = 'Write salt\'s ssh packaging file'
|
||||
|
||||
def initialize_options(self):
|
||||
pass
|
||||
'''
|
||||
Abstract method that is required to be overwritten
|
||||
'''
|
||||
|
||||
def finalize_options(self):
|
||||
pass
|
||||
'''
|
||||
Abstract method that is required to be overwritten
|
||||
'''
|
||||
|
||||
def run(self):
|
||||
if not os.path.exists(PACKAGED_FOR_SALT_SSH_FILE):
|
||||
|
@ -316,7 +324,9 @@ class TestCommand(Command):
|
|||
self.runtests_opts = None
|
||||
|
||||
def finalize_options(self):
|
||||
pass
|
||||
'''
|
||||
Abstract method that is required to be overwritten
|
||||
'''
|
||||
|
||||
def run(self):
|
||||
from subprocess import Popen
|
||||
|
|
Loading…
Add table
Reference in a new issue