From: Phil Howard Date: Thu, 30 May 2019 14:48:43 +0000 (+0000) Subject: Fixes/improvements from pypa/sampleproject X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/commitdiff_plain/ad2060db2be8b4f24519ebca0834538ac73e5f4b?hp=-c Fixes/improvements from pypa/sampleproject --- ad2060db2be8b4f24519ebca0834538ac73e5f4b diff --git a/.travis.yml b/.travis.yml index 42479fe..79decd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,6 @@ matrix: env: TOXENV=py27 - python: "3.5" env: TOXENV=py35 - - python: "2.7" - env: TOXENV=py27 install: - pip install --ignore-installed --upgrade setuptools pip tox coveralls @@ -22,3 +20,6 @@ script: - tox -vv after_success: if [ "$TOXENV" == "py35" ]; then coveralls; fi + +notifications: + email: false diff --git a/library/setup.cfg b/library/setup.cfg index 241587e..5f24723 100644 --- a/library/setup.cfg +++ b/library/setup.cfg @@ -1,3 +1,8 @@ +[metadata] +# This includes the license file(s) in the wheel. +# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file +license_files = LICENSE.txt + [flake8] exclude = .tox, diff --git a/library/setup.py b/library/setup.py index 4f00793..7eda071 100755 --- a/library/setup.py +++ b/library/setup.py @@ -47,6 +47,7 @@ setup( license='MIT', keywords='Raspberry Pi', url='http://www.pimoroni.com', + project_urls={ 'GitHub': 'https://www.github.com/pimoroni/{{LIBNAME}}-python' }, classifiers=classifiers, packages=['{{LIBNAME}}'], install_requires=[] diff --git a/library/tox.ini b/library/tox.ini index c3a18ec..aa96216 100644 --- a/library/tox.ini +++ b/library/tox.ini @@ -14,8 +14,11 @@ deps = [testenv:qa] commands = + check-manifest --ignore tox.ini,tests*,.coveragerc + python setup.py check -m -r -s flake8 --ignore E501 rstcheck README.rst deps = + check-manifest flake8 rstcheck