Skip to content

Commit 4a88e7a

Browse files
committedJul 10, 2018
REL: exclude spurious sources from setuptools_scm
When setuptools_scm is installed, it adds all git-tracked files to the sdist package. Exclude them explicitly with MANIFEST.in.
1 parent 0f1a31b commit 4a88e7a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎MANIFEST.in

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@ recursive-include src *
22
include SConstruct
33
include AUTHORS.txt LICENSE*.txt README.rst
44
recursive-exclude src *.pyc *.so
5-
recursive-exclude * .gitattributes .gitignore .DS_Store
5+
global-exclude .gitattributes .gitignore .DS_Store
66

77
# Avoid user content in setup.cfg to make distribution reproducible.
88
exclude setup.cfg
9+
10+
# Exclude git-tracked files spuriously added by setuptools_scm
11+
exclude .coveragerc
12+
exclude .travis*
13+
prune conda-recipe
14+
prune devutils
15+
prune doc

0 commit comments

Comments
 (0)