From 602720c980a9b5c229ac5b93262db8ea7b1b08d9 Mon Sep 17 00:00:00 2001 From: Dominik Mehlem Date: Mon, 16 Oct 2023 14:42:39 +0200 Subject: [PATCH] update python test and support to newest versions streamline py2app mac installation instructions --- .github/workflows/build_test_rdplot.yml | 2 +- README.rst | 23 ++++++----------------- setup.py | 4 ++-- 3 files changed, 9 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build_test_rdplot.yml b/.github/workflows/build_test_rdplot.yml index a6b497d..2de398e 100644 --- a/.github/workflows/build_test_rdplot.yml +++ b/.github/workflows/build_test_rdplot.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8] + python-version: ["3.10"] steps: - uses: actions/checkout@v2 diff --git a/README.rst b/README.rst index 9901c8b..06f1a83 100644 --- a/README.rst +++ b/README.rst @@ -83,7 +83,7 @@ If you run into any problems, don't hesitate to use the `Issue tracker `_. If you are using Homebrew you can alternatively install python3 via console:: - brew install python@3.9 - -Moreover, install all the requirements:: - - cd src/rdplot - pip3 install -r requirements.txt + brew install python@3.11 -Additionally install py2app:: +Moreover, install all the requirements, GitPython and py2app:: - pip3 install py2app + pip3 install --upgrade pip -r src/rdplot/requirements.txt gitpython py2app -Then navigate back to the top level and build an app in alias mode:: +Then build the app in alias mode:: - cd ../.. python3 setup.py py2app -A Now you should have an app in the dist folder. diff --git a/setup.py b/setup.py index 8bc7974..1aae8d9 100644 --- a/setup.py +++ b/setup.py @@ -176,8 +176,8 @@ def get_install_requires(): # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8' + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11' ], # What does your project relate to?