Skip to content

Commit

Permalink
Remove using setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa committed Jun 16, 2024
1 parent ef8549d commit 314ff79
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U setuptools twine wheel
python -m pip install -U setuptools_scm build twine
- name: Build package
run: |
python setup.py --version
python setup.py sdist --format=gztar bdist_wheel
python -m build --version
python -m build
twine check dist/*
- name: Upload packages to Jazzband
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache
uses: actions/cache@v4
- uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
path: ~/.cache/pip
key:
${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/tox.ini') }}
${{ matrix.python-version }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ matrix.python-version }}-v1-
${{ matrix.python-version }}-pip-
- name: Install dependencies
run: |
Expand Down
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,3 @@ LICENSE
=======
Apache Software License


.. CHANGES.rst will be concatenated here by setup.py
1 change: 1 addition & 0 deletions dev-requires.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ wheel
setuptools_scm
tox>=3.5
build
twine
-e ./

0 comments on commit 314ff79

Please sign in to comment.