Staging
v0.8.1
Revision 02c19a6fc08dd37a3a89cf1b9800c869c338bd3c authored by Miss Islington (bot) on 24 March 2018, 21:42:28 UTC, committed by GitHub on 24 March 2018, 21:42:28 UTC

- When adding a single element to a list, use .append() instead of
  += and creating a new list.
- For consistency, import the copy module, instead of just deepcopy. This
  leaves only a module at the class level, instead of a function.
- Improve some comments.
- Improve some whitespace.
- Use tuples instead of lists.
- Simplify a test.
(cherry picked from commit f96ddade0094d162cb6c2fd7255c5e8a90b5c37d)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
1 parent 471364b
Raw File
distutils.command.bdist_wininst.py
"""distutils.command.bdist_wininst

Suppresses the 'bdist_wininst' command, while still allowing
setuptools to import it without breaking."""

from distutils.core import Command
from distutils.errors import DistutilsPlatformError

class bdist_wininst(Command):
    description = "create an executable installer for MS Windows"

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        raise DistutilsPlatformError("bdist_wininst is not supported "
            "in this Python distribution")
back to top