Skip to content

Commit

Permalink
Slightly modernize build system
Browse files Browse the repository at this point in the history
  • Loading branch information
lbolla committed Jan 5, 2025
1 parent a2a3e86 commit 99f5329
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 21 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ develop: upgrade-dev requirements-install ## Install project for development
pip install -e .

upgrade-dev: ## Upgrade packages for development
pip install -U setuptools pip pip-tools tox
pip install -U setuptools pip pip-tools pytest tox

test: lint ## Run tests
python setup.py test
pytest

tox: ## Run Python tests
tox
Expand Down
1 change: 1 addition & 0 deletions requirements_dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ipython
mypy
pip-tools>=6.4
pyflakes
pytest
tox>=3.24

packaging>=20
Expand Down
26 changes: 10 additions & 16 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements_dev.txt requirements_dev.in
Expand Down Expand Up @@ -28,8 +28,6 @@ decorator==5.1.1
# via ipython
distlib==0.3.7
# via virtualenv
exceptiongroup==1.1.3
# via ipython
executing==2.0.0
# via stack-data
filelock==3.12.4
Expand All @@ -38,6 +36,8 @@ filelock==3.12.4
# virtualenv
flake8==6.1.0
# via -r requirements_dev.in
iniconfig==2.0.0
# via pytest
ipython==8.16.1
# via -r requirements_dev.in
jedi==0.19.1
Expand All @@ -58,6 +58,7 @@ packaging==23.2
# black
# build
# pyproject-api
# pytest
# tox
parso==0.8.3
# via jedi
Expand All @@ -75,7 +76,9 @@ platformdirs==3.11.0
# tox
# virtualenv
pluggy==1.3.0
# via tox
# via
# pytest
# tox
prompt-toolkit==3.0.39
# via ipython
ptyprocess==0.7.0
Expand All @@ -96,29 +99,20 @@ pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
pytest==8.0.2
# via -r requirements_dev.in
six==1.16.0
# via asttokens
stack-data==0.6.3
# via ipython
tomli==2.0.1
# via
# black
# build
# mypy
# pip-tools
# pyproject-api
# pyproject-hooks
# tox
tox==4.11.3
# via -r requirements_dev.in
traitlets==5.11.2
# via
# ipython
# matplotlib-inline
typing-extensions==4.8.0
# via
# black
# mypy
# via mypy
virtualenv==20.24.5
# via tox
wcwidth==0.2.8
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# and then run "tox" from this directory.

[tox]
envlist = py27, py37, py38
envlist = py312, py311, py310

[testenv]
deps = -rrequirements.txt
commands = python setup.py test
deps = pytest -rrequirements.txt
commands = pytest

0 comments on commit 99f5329

Please sign in to comment.