diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | MANIFEST.in | 8 | ||||
-rw-r--r-- | tox.ini | 10 |
3 files changed, 18 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 930f6ea1..a0511cf6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -117,6 +117,8 @@ matrix: if: (branch = master AND type != pull_request) OR commit_message =~ /linkcheck/ - python: 3.4 env: TOXENV=pep8 + - python: 3.7 + env: TOXENV=packaging - python: 2.7 env: DOWNSTREAM=pyopenssl diff --git a/MANIFEST.in b/MANIFEST.in index 373c2420..2da8d152 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,6 +4,7 @@ include CONTRIBUTING.rst include LICENSE include LICENSE.APACHE include LICENSE.BSD +include LICENSE.PSF include README.rst include pyproject.toml @@ -12,4 +13,11 @@ recursive-include docs * recursive-include src/_cffi_src *.py *.c *.h prune docs/_build recursive-include tests *.py +exclude vectors recursive-exclude vectors * + +exclude azure-pipelines.yml .azure-pipelines .travis.yml .travis +recursive-exclude .azure-pipelines * +recursive-exclude .travis * + +exclude release.py .coveragerc codecov.yml dev-requirements.txt rtd-requirements.txt tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.4 -envlist = py27,pypy,py34,py35,py36,py37,docs,pep8,py3pep8 +envlist = py27,pypy,py34,py35,py36,py37,docs,pep8,packaging [testenv] extras = @@ -60,7 +60,7 @@ commands = [testenv:pep8] basepython = python3 extras = - pep8test + pep8test commands = flake8 . @@ -71,6 +71,12 @@ deps = commands = pytest --capture=no --strict --random {posargs} +[testenv:packaging] +deps = + check-manifest +commands = + check-manifest + [flake8] ignore = W504 exclude = .tox,*.egg,.git,_build,.hypothesis |