diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2019-05-27 14:08:07 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-05-27 14:08:07 -0400 |
commit | 828581d6eaf6123f93d5ccadd630340be66206dd (patch) | |
tree | 7da3304d33233d7aa98d0b4adec352a990ee9e92 | |
parent | 463348bc71b8737b6c620e97286468f3a5c1322f (diff) | |
download | cryptography-828581d6eaf6123f93d5ccadd630340be66206dd.tar.gz cryptography-828581d6eaf6123f93d5ccadd630340be66206dd.tar.bz2 cryptography-828581d6eaf6123f93d5ccadd630340be66206dd.zip |
Added a new packaging test (#4899)
* Added a new packaging test
* Fixed packaging job
* typo
* more fixes
* one more
-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 |