Skip to content

Commit

Permalink
remove setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Apr 9, 2024
1 parent d52e116 commit eee35e8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 147 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
python -m pip install --user --upgrade setuptools wheel
python -m pip install --user -r requirements/development.txt
# For sdist validation
python -m pip install --user --upgrade twine
python -m pip install --user --upgrade twine build
# Needed so that we don't affect building any pip dependencies with these flags
- name: Set CPPFLAGS for C++ builds
Expand Down Expand Up @@ -147,14 +147,13 @@ jobs:
- name: Validate the sdist
run: |
python setup.py sdist
python setup.py check
python -m build -s .
#python setup.py check
python -m twine check dist/*.tar.gz
rm -rf dist/*.tar.gz
- name: Test pip install from dist in fresh venv
run: |
python -m pip install build
python -m build -o dist -w .
cd dist
python -m venv venv
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Build sdist
shell: bash
run: |
python -m pip install --upgrade pip setuptools
python setup.py sdist
python -m pip install --upgrade pip build
python -m build -s .
- name: Upload sdist
uses: actions/upload-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions doc/misc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Build system
PR {pr}`1284`
* Remove boutique arguments from `setup.py`.
PR {pr}`1288`
* Remove `setup.py`.
PR {pr}`1291`

CI and deployment

Expand Down
141 changes: 0 additions & 141 deletions setup.py

This file was deleted.

0 comments on commit eee35e8

Please sign in to comment.