Fixes/improvements from pypa/sampleproject
authorPhil Howard <phil@gadgetoid.com>
Thu, 30 May 2019 14:48:43 +0000 (14:48 +0000)
committerPhil Howard <phil@gadgetoid.com>
Thu, 30 May 2019 14:48:43 +0000 (14:48 +0000)
.travis.yml
library/setup.cfg
library/setup.py
library/tox.ini

index 42479fe448d64d82722642d11e3e740adb969850..79decd6fcfcbc36edef60441004130774d6c1b43 100644 (file)
@@ -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
index 241587ece482839f94a74702e31cb04ed9de842a..5f24723e20c6351654994325c33fe8392421fe13 100644 (file)
@@ -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,
index 4f007937b5290a5e75e0b449f6c97e34a18daf7a..7eda071d7e2c7562e81829162c63161594c3e1f6 100755 (executable)
@@ -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=[]
index c3a18ecb1e168bab6712f02e3685f296b7081fb3..aa962163088efbb939845a9f95de224fd03d3bd8 100644 (file)
@@ -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