diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ad28327..001af27 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -7,20 +7,22 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9] + python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies + shell: bash run: | python -m pip install --upgrade pip pip install -r pip-requirements.txt python setup.py install --user - name: run tests + shell: bash run: | ./run-tests.sh @@ -29,21 +31,23 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - python-version: [3.8] + python-version: ["3.10"] # have to copy steps from above, as anchors are currently # not supported by github workflow (Jan 2020). steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies + shell: bash run: | python -m pip install --upgrade pip pip install -r pip-requirements.txt python setup.py install --user - name: run tests + shell: bash run: | ./run-tests.sh diff --git a/setup.py b/setup.py index c310839..3e13d85 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,6 @@ from setuptools import setup, find_packages -import numpy import os import versioneer @@ -32,10 +31,8 @@ author_email='stephan.kuschel@gmail.de', description='Diffraction Imaging Tools for Python', url='https://github.com/skuschel/diffractionimaging', - include_dirs = [numpy.get_include()], license='GPLv3+', python_requires='>=3.6', - setup_requires=['numpy>=1.8'], install_requires=['numpy>=1.8', 'scipy', 'urllib3',