From 79879d8a3510ee6a94fee32c9c529e1de9efc30f Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Fri, 1 Dec 2023 11:29:01 +0100 Subject: [PATCH] Remove setup.py --- .github/workflows/ci.yml | 6 +++--- .readthedocs.yml | 4 ---- setup.py | 10 ---------- 3 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 setup.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc11ec7..c006e8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,11 +46,11 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 + with: + python-version: "3.12" - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install .[doc] - name: Build the documentation - run: | - python setup.py build - make -C doc html man + run: make -C doc html man diff --git a/.readthedocs.yml b/.readthedocs.yml index da16f14..9fb7c23 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -13,10 +13,6 @@ sphinx: python: install: - # Run setup.py first to generate the version.py file. For some reason it - # is not generated with `pip install .[doc]` - - method: setuptools - path: . - method: pip path: . extra_requirements: diff --git a/setup.py b/setup.py deleted file mode 100644 index 881d40c..0000000 --- a/setup.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- - -# tutorials: -# - https://packaging.python.org/en/latest/distributing.html -# - https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/ -# - https://gehrcke.de/2014/02/distributing-a-python-command-line-application/ - -from setuptools import setup - -setup(test_suite="test")