From ce677b0c8176d984cba6a79c9c092c5deca85982 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 30 Dec 2020 01:11:43 +0100 Subject: [PATCH] fix for windows installs --- .github/workflows/test.yml | 4 ++-- requirements.txt | 3 ++- setup.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d8b840f..73ba0c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Test with Pre-commit and Tox +name: Test with Pre-commit on: push: @@ -25,7 +25,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions pre-commit + pip install pre-commit pre-commit install-hooks - name: Lint with pre-commit run: pre-commit run --all-files diff --git a/requirements.txt b/requirements.txt index c0e4c77..0d066c4 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -aiohttp[speedups]==3.7.3 +aiohttp==3.7.3; sys_platform == 'win32' +aiohttp[speedups]==3.7.3; sys_platform != 'win32' diff --git a/setup.py b/setup.py index fdf3ef2..4e6e3d5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import find_packages, setup -VERSION = "0.0.7" +VERSION = "0.0.8" PROJECT_DIR = Path(__file__).parent.resolve() README_FILE = PROJECT_DIR / "README.md"