Skip to content

Commit 2dd1a00

Browse files
committed
Prefer use of real (gnu) tar
apparently extractall() doesn't strip leading / etc from tarball. Even though the tarball should be in good form, use the safer alternative first.
1 parent ba48d18 commit 2dd1a00

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

website/www/index.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ steps (change the ``-2.2.0`` version identifier to match your downloaded
142142
file).
143143

144144
1. ``python -m pip download roundup``
145-
2. ``python -c 'import tarfile, sys; tarfile.open(sys.argv[1]).extractall();' roundup-2.2.0.tar.gz``
145+
2. ``tar -xzvf roundup-2.2.0.tar.gz``
146+
147+
* if you don't have a tar command, ``python -c 'import tarfile, sys; tarfile.open(sys.argv[1]).extractall();' roundup-2.2.0.tar.gz`` can be used.
148+
146149
3. ``cd roundup-2.2.0``
147150
4. ``python demo.py``
148151

0 commit comments

Comments
 (0)