Compare commits

...

7 Commits

Author SHA1 Message Date
Andrew Port 8d030418f5 remove defusedxml requirement before merging to master 2021-10-18 22:16:15 -07:00
Andrew Port 91f9112a81 only include versions that build on github (some do not due to github lacking support) 2021-10-18 22:01:06 -07:00
Andrew Port 386b03eb7d remove ci-testing for python versions github does not support 2021-10-18 21:46:41 -07:00
Andrew Port d6b3570a71 quote 3.10, 3.11 2021-10-18 21:41:31 -07:00
Andrew Port 79dcd6fa60 add pypy 2021-10-18 21:40:43 -07:00
Andrew Port 57ea72e92d update 2021-10-18 21:39:57 -07:00
Andrew Port c11a754ec7 add all python 2 and 3 versions and continue-on-error 2021-10-18 21:31:17 -07:00
2 changed files with 13 additions and 9 deletions

View File

@ -2,17 +2,17 @@ name: Github CI Unit Testing
on: on:
push: push:
branches: [ master ]
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
continue-on-error: true
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [2.7, 3.6, 3.7, 3.8, 3.9] python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -8,14 +8,12 @@ AUTHOR_NAME = 'Andy Port'
AUTHOR_EMAIL = 'AndyAPort@gmail.com' AUTHOR_EMAIL = 'AndyAPort@gmail.com'
GITHUB = 'https://github.com/mathandy/svgpathtools' GITHUB = 'https://github.com/mathandy/svgpathtools'
_here = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
""" def read(relative_path):
Build an absolute path from *parts* and and return the contents of the """Reads file at relative path, returning contents as string."""
resulting file. Assume UTF-8 encoding. with codecs.open(os.path.join(_here, relative_path), "rb", "utf-8") as f:
"""
HERE = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read() return f.read()
@ -43,6 +41,12 @@ setup(name='svgpathtools',
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 2", "Programming Language :: Python :: 2",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Multimedia :: Graphics :: Editors :: Vector-Based", "Topic :: Multimedia :: Graphics :: Editors :: Vector-Based",
"Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Recognition", "Topic :: Scientific/Engineering :: Image Recognition",