@@ -72,13 +72,19 @@ The available formats for built distributions are:
7272+-------------+------------------------------+---------+
7373| Format | Description | Notes |
7474+=============+==============================+=========+
75- | ``gztar `` | gzipped tar file | (1),(3) |
75+ | ``gztar `` | gzipped tar file | \ ( 1) |
7676| | (:file: `.tar.gz `) | |
7777+-------------+------------------------------+---------+
78+ | ``bztar `` | bzipped tar file | |
79+ | | (:file: `.tar.bz2 `) | |
80+ +-------------+------------------------------+---------+
81+ | ``xztar `` | xzipped tar file | |
82+ | | (:file: `.tar.xz `) | |
83+ +-------------+------------------------------+---------+
7884| ``ztar `` | compressed tar file | \( 3) |
7985| | (:file: `.tar.Z `) | |
8086+-------------+------------------------------+---------+
81- | ``tar `` | tar file (:file: `.tar `) | \( 3) |
87+ | ``tar `` | tar file (:file: `.tar `) | |
8288+-------------+------------------------------+---------+
8389| ``zip `` | zip file (:file: `.zip `) | (2),(4) |
8490+-------------+------------------------------+---------+
@@ -94,6 +100,9 @@ The available formats for built distributions are:
94100| ``msi `` | Microsoft Installer. | |
95101+-------------+------------------------------+---------+
96102
103+ .. versionchanged: 3.5
104+ Added support for the ``xztar`` format.
105+
97106
98107 Notes:
99108
@@ -104,8 +113,7 @@ Notes:
104113 default on Windows
105114
106115(3)
107- requires external utilities: :program: `tar ` and possibly one of :program: `gzip `,
108- :program: `bzip2 `, or :program: `compress `
116+ requires external :program: `compress ` utility.
109117
110118(4)
111119 requires either external :program: `zip ` utility or :mod: `zipfile ` module (part
@@ -119,21 +127,22 @@ You don't have to use the :command:`bdist` command with the :option:`--formats`
119127option; you can also use the command that directly implements the format you're
120128interested in. Some of these :command: `bdist ` "sub-commands" actually generate
121129several similar formats; for instance, the :command: `bdist_dumb ` command
122- generates all the "dumb" archive formats (``tar ``, ``ztar ``, ``gztar ``, and
123- ``zip ``), and :command: `bdist_rpm ` generates both binary and source RPMs. The
124- :command: `bdist ` sub-commands, and the formats generated by each, are:
125-
126- +--------------------------+-----------------------+
127- | Command | Formats |
128- +==========================+=======================+
129- | :command: `bdist_dumb ` | tar, ztar, gztar, zip |
130- +--------------------------+-----------------------+
131- | :command: `bdist_rpm ` | rpm, srpm |
132- +--------------------------+-----------------------+
133- | :command: `bdist_wininst ` | wininst |
134- +--------------------------+-----------------------+
135- | :command: `bdist_msi ` | msi |
136- +--------------------------+-----------------------+
130+ generates all the "dumb" archive formats (``tar ``, ``gztar ``, ``bztar ``,
131+ ``xztar ``, ``ztar ``, and ``zip ``), and :command: `bdist_rpm ` generates both
132+ binary and source RPMs. The :command: `bdist ` sub-commands, and the formats
133+ generated by each, are:
134+
135+ +--------------------------+-------------------------------------+
136+ | Command | Formats |
137+ +==========================+=====================================+
138+ | :command: `bdist_dumb ` | tar, gztar, bztar, xztar, ztar, zip |
139+ +--------------------------+-------------------------------------+
140+ | :command: `bdist_rpm ` | rpm, srpm |
141+ +--------------------------+-------------------------------------+
142+ | :command: `bdist_wininst ` | wininst |
143+ +--------------------------+-------------------------------------+
144+ | :command: `bdist_msi ` | msi |
145+ +--------------------------+-------------------------------------+
137146
138147The following sections give details on the individual :command: `bdist_\* `
139148commands.
0 commit comments