summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-10-27 17:11:01 -0400
committerGitHub <noreply@github.com>2018-10-27 17:11:01 -0400
commit72293ecb02c345d0cb33e479df52dc55598df670 (patch)
tree5344f194a98b8ef50289a848048fe8e7b75ba8dc
parent1b98bc206c7f46be3216e2b91f4f07d93b61dd0c (diff)
parent525e5ede9119a5cbc4b35a1606068a212fea3c4e (diff)
downloadpython-setuptools-git-72293ecb02c345d0cb33e479df52dc55598df670.tar.gz
Merge pull request #1533 from bloomberg/dont_copy_pyc
Exclude .pyc in sdist output
-rw-r--r--.travis.yml4
-rw-r--r--MANIFEST.in2
-rw-r--r--changelog.d/1533.misc.rst1
3 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 0e53bd29..442e3ec2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,7 +30,9 @@ jobs:
install: skip
script: skip
after_success: true
- before_deploy: python bootstrap.py
+ before_deploy:
+ - python bootstrap.py
+ - ! grep pyc setuptools.egg-info/SOURCES.txt
deploy:
provider: pypi
on:
diff --git a/MANIFEST.in b/MANIFEST.in
index 325bbed8..9cce3c90 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -2,7 +2,7 @@ recursive-include setuptools *.py *.exe *.xml
recursive-include tests *.py
recursive-include setuptools/tests *.html
recursive-include docs *.py *.txt *.conf *.css *.css_t Makefile indexsidebar.html
-recursive-include setuptools/_vendor *
+recursive-include setuptools/_vendor *.py *.txt
recursive-include pkg_resources *.py *.txt
include *.py
include *.rst
diff --git a/changelog.d/1533.misc.rst b/changelog.d/1533.misc.rst
new file mode 100644
index 00000000..934df494
--- /dev/null
+++ b/changelog.d/1533.misc.rst
@@ -0,0 +1 @@
+Restrict the `recursive-include setuptools/_vendor` to contain only .py and .txt files