Skip to content

Commit 6030ecf

Browse files
committed
Add classifier and tests for PyPy 3
1 parent 326662b commit 6030ecf

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/test-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8, 3.9]
12+
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
1313

1414
steps:
1515
- uses: actions/checkout@v2

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*.bak
44
*.cache
55
*.default
6+
*.db
67
*.egg-info
78
*.log
89
*.patch
@@ -19,9 +20,7 @@ build/
1920
dist/
2021
_build/
2122

22-
Thumbs.db
2323
.DS_Store
24-
demo.db
2524

2625
Cache/
2726
Logs/

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ graft docs
2222
recursive-include docs *.rst conf.py Makefile make.bat *.png
2323
prune docs/_build
2424

25-
global-exclude *.py[co] *.ses __pycache__
25+
global-exclude *.py[co] *.db *.ses __pycache__

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
]
2424
requireTests = [
2525
'psutil>=5.7,<6', 'flake8>=3.8,<4', 'pylint>=2.6,<3', 'tox>=3.20,<4',
26-
'pywin32>=227,<300;sys_platform=="win32"'
26+
'pywin32>=228,<300;'
27+
'sys_platform=="win32" and implementation_name=="cpython"'
2728
] + requireDev + requireDocs + requireExamples
2829

2930

@@ -56,6 +57,8 @@
5657
'Programming Language :: Python :: 3.7',
5758
'Programming Language :: Python :: 3.8',
5859
'Programming Language :: Python :: 3.9',
60+
'Programming Language :: Python :: Implementation :: CPython',
61+
'Programming Language :: Python :: Implementation :: PyPy',
5962
'Operating System :: OS Independent',
6063
],
6164
extras_require={

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{36,37,38,39}, flake8, pylint, docs, manifest
2+
envlist = py{36,37,38,39}, pypy3, flake8, pylint, docs, manifest
33

44
[testenv:flake8]
55
basepython = python3.8

0 commit comments

Comments
 (0)