Skip to content

Commit a464123

Browse files
committed
Add python_requires to setup.py and extra py versions.
1 parent 68d83e6 commit a464123

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
matrix:
1313
os: [ubuntu-latest, windows-latest]
1414
python-version: [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9' ]
15+
fail-fast: false
1516
runs-on: ${{ matrix.os }}
1617
name: Python ${{ matrix.python-version }} - ${{ matrix.os }}
1718
steps:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ build/*
99
docs/_build/*
1010
.pytest_cache/*
1111
.idea/*
12+
.vscode/*
1213
htmlcov/*
1314
tests/example.hex
1415
deb_dist/*

setup.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@
2828
"Operating System :: POSIX",
2929
"Operating System :: Microsoft :: Windows",
3030
"Programming Language :: Python :: 2.7",
31-
"Programming Language :: Python :: 3.3",
32-
"Programming Language :: Python :: 3.4",
3331
"Programming Language :: Python :: 3.5",
3432
"Programming Language :: Python :: 3.6",
33+
"Programming Language :: Python :: 3.7",
34+
"Programming Language :: Python :: 3.8",
35+
"Programming Language :: Python :: 3.9",
3536
"Topic :: Education",
3637
"Topic :: Software Development :: Embedded Systems",
3738
],
39+
python_requires="==2.7.*,>=3.5",
3840
entry_points={
3941
"console_scripts": ["uflash=uflash:main", "py2hex=uflash:py2hex"],
4042
},

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27, py35, lint
2+
envlist = py27, py35, py36, py37, py38, py39, lint
33

44
[testenv]
55
commands = py.test --cov-report term-missing --cov=uflash {posargs:tests/}

0 commit comments

Comments
 (0)