Commit 72293ecb authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #1533 from bloomberg/dont_copy_pyc

Exclude .pyc in sdist output
parents 1b98bc20 525e5ede
...@@ -30,7 +30,9 @@ jobs: ...@@ -30,7 +30,9 @@ jobs:
install: skip install: skip
script: skip script: skip
after_success: true after_success: true
before_deploy: python bootstrap.py before_deploy:
- python bootstrap.py
- ! grep pyc setuptools.egg-info/SOURCES.txt
deploy: deploy:
provider: pypi provider: pypi
on: on:
......
...@@ -2,7 +2,7 @@ recursive-include setuptools *.py *.exe *.xml ...@@ -2,7 +2,7 @@ recursive-include setuptools *.py *.exe *.xml
recursive-include tests *.py recursive-include tests *.py
recursive-include setuptools/tests *.html recursive-include setuptools/tests *.html
recursive-include docs *.py *.txt *.conf *.css *.css_t Makefile indexsidebar.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 recursive-include pkg_resources *.py *.txt
include *.py include *.py
include *.rst include *.rst
......
Restrict the `recursive-include setuptools/_vendor` to contain only .py and .txt files
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment