From 230594b592066eba86b1df6ad43b89dde236be26 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Thu, 26 May 2022 16:37:17 +0200 Subject: [PATCH 1/2] setup.py: remove pip import This change removes an unused import of pip from setup.py in order to make the project compatible with default setuptools build via PEP 517 front ends. --- setup.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 95f9406..d5eb351 100755 --- a/setup.py +++ b/setup.py @@ -1,15 +1,7 @@ #!/usr/bin/env python # coding: utf-8 -# Pip Package Manager -# ------------------------------------------------------------------------------ -try: - import pip - import setuptools -except ImportError: - url = "http://pip.readthedocs.org" - error = f"pip is not installed, refer to <{url}> for instructions." - raise ImportError(error) +import setuptools # Pandoc Metadata # ------------------------------------------------------------------------------ From 6400d26d2e876064565de9c6a47591d8888df279 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Thu, 26 May 2022 16:41:20 +0200 Subject: [PATCH 2/2] ci/linux: enable on pull requests --- .github/workflows/linux.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c72f981..1f79988 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -3,6 +3,9 @@ on: push: branches: - master + pull_request: + branches: + - '**' jobs: main: