MANIFEST.in
author Colin McMillen <mcmillen@cs.cmu.edu>
Sun, 30 Apr 2006 22:43:41 +0200
changeset 2168 dd4ec4576cc8
parent 2055 bd94dda70bbe
child 2207 8a2a7f7d9df6
permissions -rw-r--r--
Proper check to see if zip dest needs to be wrapped in tellable From hgweb, calling archival.zipit fails with the error message "Illegal seek". This happens because sys.stdout.tell() throws an exception: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mercurial/archival.py", line 99, in addfile self.z.writestr(i, data) File "/usr/lib/python2.4/zipfile.py", line 468, in writestr zinfo.header_offset = self.fp.tell() # Start of header bytes Checking whether hasattr(dest, 'tell') is insufficient, because sys.stdout has a tell() method; you just can't call it. This patch instead determines whether a fileobj is tellable by trying to tell(), wrapping the fileobj if an exception is generated.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
     1
include hg
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
     2
recursive-include mercurial *.py
954
f179a3a4af3c Add hgwebdir.cgi to MANIFEST.in
mpm@selenic.com
parents: 953
diff changeset
     3
include hgweb.cgi hgwebdir.cgi
589
4be4d4580467 [PATCH] bring MANIFEST.in up to date
mpm@selenic.com
parents: 457
diff changeset
     4
include hgeditor rewrite-log
2053
0f17f54333b8 Include tests/md5sum.py in manifest.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1992
diff changeset
     5
include tests/README tests/run-tests tests/md5sum.py tests/test-*[a-z0-9] tests/*.out
805
ec7107c5d8ad Drop .err files generated by failed tests from the MANIFEST.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 740
diff changeset
     6
prune tests/*.err
7
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
     7
include *.txt
807
5e779f96edb0 Include tests (or possibly maps) ending in numbers in MANIFEST, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 806
diff changeset
     8
include templates/map templates/map-*[a-z0-9]
188
f40273b0ad7b Mercurial 0.5
mpm@selenic.com
parents: 7
diff changeset
     9
include templates/*.tmpl
1992
ea8345a7a29d Include templates/static/* in MANIFEST.in so that distutils setup will include them.
Lee Cantey <lcantey@gmail.com>
parents: 1021
diff changeset
    10
include templates/static/*
2055
bd94dda70bbe Added doc/gendoc.py to MANIFEST.in, so docs can be regenerated on demand.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2053
diff changeset
    11
include doc/README doc/Makefile doc/gendoc.py doc/*.txt doc/*.html doc/*.[0-9]
673
8e518e11f6cf Change MANIFEST.in to recursive-include the contrib/ folder.
Andrew Thompson <andrewkt@aktzero.com>
parents: 589
diff changeset
    12
recursive-include contrib *
7
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
    13
include README
589
4be4d4580467 [PATCH] bring MANIFEST.in up to date
mpm@selenic.com
parents: 457
diff changeset
    14
include CONTRIBUTORS
4be4d4580467 [PATCH] bring MANIFEST.in up to date
mpm@selenic.com
parents: 457
diff changeset
    15
include COPYING
1021
a0ce13606208 Add Makefile to the manifest
mpm@selenic.com
parents: 1007
diff changeset
    16
include Makefile
589
4be4d4580467 [PATCH] bring MANIFEST.in up to date
mpm@selenic.com
parents: 457
diff changeset
    17
include MANIFEST.in