Skip to content

Commit

Permalink
Remove references to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Oct 15, 2023
1 parent 07a84a1 commit bd01605
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ steps:
- name: Test Python 3.7
image: python:3.7
commands:
- python setup.py develop
- python3 -m unittest
- pip install build
- python -m build
- python -m unittest

- name: Test Python 3.12
image: python:3.12
commands:
- curl -L "https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-$(dpkg --print-architecture)" > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- python setup.py develop
- pip install -r requirements-test.txt
- ruff check .
- mypy . --strict
Expand All @@ -33,8 +33,8 @@ steps:
- Test Python 3.12
image: python:3.12
commands:
- pip install twine
- python setup.py sdist bdist_wheel
- pip install build twine
- python -m build
- twine check --strict dist/*

- name: Upload Python
Expand All @@ -47,8 +47,8 @@ steps:
from_secret: twine_password
image: python:3.12
commands:
- pip install twine
- python setup.py sdist bdist_wheel
- pip install build twine
- python -m build
- twine upload dist/*
when:
event:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ source = [
]
omit = [
".virtualenv",
"setup.py",
]

[tool.coverage.report]
Expand Down

0 comments on commit bd01605

Please sign in to comment.