<commit_before>"""distutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution)."""

# created 2000/03/29, <NAME>

__revision__ = "$Id$"

import os, string
from distutils.core import Command


class bdist (Command):

    description = "create a built (binary) distribution"

    user_options = [('formats=', 'f',
                     "formats for distribution (tar, ztar, gztar, zip, ... )"),
                   ]

    # This won't do in reality: will need to distinguish RPM-ish Linux,
    # Debian-ish Linux, Solaris, FreeBSD, ..., Windows, Mac OS.
    default_format = { 'posix': 'gztar',
                       'nt': 'zip', }

    format_command = { 'gztar': 'bdist_dumb',
                       'zip':   'bdist_dumb', }

<commit_msg>Import from 'types' module. Added 'ztar', 'tar' to 'format_command' dictionary.<commit_after>"""distutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution)."""

# created 2000/03/29, <NAME>

__revision__ = "$Id$"

import os, string
from types import *
from distutils.core import Command


class bdist (Command):

    description = "create a built (binary) distribution"

    user_options = [('formats=', 'f',
                     "formats for distribution (tar, ztar, gztar, zip, ... )"),
                   ]

    # This won't do in reality: will need to distinguish RPM-ish Linux,
    # Debian-ish Linux, Solaris, FreeBSD, ..., Windows, Mac OS.
    default_format = { 'posix': 'gztar',
                       'nt': 'zip', }

    format_command = { 'gztar': 'bdist_dumb',
                       'ztar':  'bdist_dumb',
                       'tar':   'bdist_dumb',
                       'zip':   'bdist_dumb', }


{'fraction_non_alphanumeric': 0.13908045977011493, 'fraction_numerical': 0.009195402298850575, 'mean_word_length': 2.367504835589942, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4368423', 'n_tokens_mistral': 573, 'n_tokens_neox': 528, 'n_words': 156}