Skip to content

Commit

Permalink
update python version in various places
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
arthurzam committed Jan 19, 2024
1 parent 0fa8434 commit c488f5c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2007-2021, snakeoil contributors
Copyright (c) 2007-2024, snakeoil contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ Installing from git::

Installing from a tarball::

python setup.py install
pip install .

Tests
=====

A standalone test runner is integrated in setup.py; to run, just execute::
Normal pytest is used, just execute::

python setup.py test
pytest

Using tox for all supported python versions::

Expand Down
24 changes: 10 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
[tox]
envlist = py310, py311, py312, pypy3
skip_missing_interpreters = True
isolated_build = True

[testenv]
# force latest virtualenv/pip
download = true
deps = -rrequirements/tox.txt
extras =
test
commands =
pytest --cov {posargs:-v}
pytest {posargs}

# build docs
[testenv:docs]
skip_install = true
deps =
-rrequirements/dev.txt
-rrequirements/docs.txt
commands =
python setup.py build_docs

# build dist files
[testenv:dist]
skip_install = true
deps = -rrequirements/dist.txt
extras =
doc
commands =
python setup.py sdist
python setup.py bdist_wheel
make man
make html

0 comments on commit c488f5c

Please sign in to comment.