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")