Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt at supporting py 3.8 and py 3.10 #3

Open
wants to merge 5 commits into
base: cython-requirement-fix
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,20 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests aren't passing anymore but install worked fine. tests probably need to be updated before this is shipped. hit end of timebox

matrix:
python-version: ["3.8", "3.10"]

steps:
- name: checkout repo
uses: actions/checkout@v1
with:
fetch-depth: 1
id: checkout
- uses: actions/setup-python@v2
name: Install Python 3.8
name: Install Python ${{ matrix.python-version }}
with:
python-version: '3.8'
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Install dependencies
run: |
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup, Extension
import os
import os

SRC_DIR = "stl_tools"

Expand All @@ -12,10 +12,10 @@
setup(name='stl_tools',
version='0.4.2',
install_requires=[
'numpy>=1.18.1',
'scipy',
'Cython>=0.29.14,<0.30.0',
'matplotlib'],
'numpy>=1.18.1',
'scipy',
'Cython>=0.29.14,<0.30.0',
'matplotlib'],
description="Generate STL files from numpy arrays and text",
author='Tristan Hearn',
author_email='[email protected]',
Expand Down
42 changes: 36 additions & 6 deletions stl_tools/cwrapped.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.