annotate MANIFEST.in @ 6848:e823d9117a68

tests: further relax the number of files check in test-check-sdist.t A previous patch bumped this number due to a different version of setuptools or distutils or some other package that we don't control, which made it pretty obvious that this check is not really practical. We need a better way to check that all needed files are present in the tarball. I have some ideas, but this patch can be applied without further waiting, and it'll already bring the benefit of not annoying developers or contributors while at the same time still keeping the test somewhat useful.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 16 Sep 2024 17:22:23 +0400
parents 7f95546f584e
children a239ea1dfacb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5130
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
1 include CHANGELOG
1770
be85d7ce8536 Manifest.in: sort entry
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 1062
diff changeset
2 include COPYING
3033
13751fef5e66 topics: move README-topic as hgext3rd/topic/README
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3032
diff changeset
3 include hgext3rd/topic/README
1775
a37ef09e27b1 Manifest.in: include Manifest.in
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 1774
diff changeset
4 include MANIFEST.in
5404
9e0f91cb5242 evolve: the rest of b3e178f3e31f
Anton Shestakov <av6@dwimlabs.net>
parents: 5393
diff changeset
5 include README.rst
524
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
6 include setup.py
5770
7d5d9301c244 manifest: include all .py files from hgext3rd
Anton Shestakov <av6@dwimlabs.net>
parents: 5404
diff changeset
7 recursive-include hgext3rd *.py
5246
57ae9af43e6b manifest: just include all .py .sh and .t files from tests/ recursively
Anton Shestakov <av6@dwimlabs.net>
parents: 5245
diff changeset
8 recursive-include tests *.py *.sh *.t
5130
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
9
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
10 include docs/makefile
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
11 include docs/*.py
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
12 include docs/README
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
13 include docs/*.rst
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
14 include docs/static/*.svg
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
15 include docs/tutorials/*.t
3383
733e01473ec2 packaging: update MANIFEST.in to include new tutorial files
Boris Feld <boris.feld@octobus.net>
parents: 3033
diff changeset
16 include docs/tutorial/standalone.html
5129
b7048f3e1847 packaging: simplify inclusion of docs in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5128
diff changeset
17 recursive-include docs/figures *.svg *.png
b7048f3e1847 packaging: simplify inclusion of docs in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5128
diff changeset
18 recursive-include docs/tutorial *.css *.js *.md *.py *.rst *.sh *.t
5245
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
19
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
20 exclude docs/tutorial/.netlify
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
21 exclude .gitlab-ci.yml
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
22 exclude .hg-format-source
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
23 exclude Makefile
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
24 exclude tests/test-drop.t
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
25
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
26 prune contrib
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
27 prune debian
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
28 prune .gitlab
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
29 prune hgext3rd/evolve/hack