Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 16, 2021
2 parents fe93b37 + 212e995 commit 1ab967f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.1"]
requires = ["setuptools>=56", "wheel", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"

[tool.black]
Expand Down
4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ doctest_optionflags=ALLOW_UNICODE ELLIPSIS
# workaround for warning pytest-dev/pytest#6178
junit_family=xunit2
filterwarnings=
# Suppress deprecation warning in flake8
ignore:SelectableGroups dict interface is deprecated::flake8
# Suppress deprecation warning in pypa/packaging#433
ignore:The distutils package is deprecated::packaging.tags
ignore:OS_X module is deprecated
9 changes: 2 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[metadata]
license_files =
LICENSE
name = keyring
author = Kang Zhang
author_email = [email protected]
Expand All @@ -26,7 +24,6 @@ install_requires =
SecretStorage>=3.2; sys_platform=="linux"
jeepney>=0.4.2; sys_platform=="linux"
importlib_metadata >= 3.6
setup_requires = setuptools_scm[toml] >= 3.4.1

[options.packages.find]
exclude =
Expand All @@ -42,12 +39,10 @@ testing =
pytest-checkdocs >= 2.4
pytest-flake8
# python_implementation: workaround for jaraco/skeleton#22
# python_version: workaround for python/typed_ast#156
pytest-black >= 0.3.7; python_implementation != "PyPy" and python_version < "3.10"
pytest-black >= 0.3.7; python_implementation != "PyPy"
pytest-cov
# python_implementation: workaround for jaraco/skeleton#22
# python_version: workaround for python/typed_ast#156
pytest-mypy; python_implementation != "PyPy" and python_version < "3.10"
pytest-mypy; python_implementation != "PyPy"
pytest-enabler >= 1.0.1

# local
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,14 @@ skip_install = True
deps =
build
twine>=3
path
jaraco.develop>=7.1
passenv =
TWINE_PASSWORD
GITHUB_TOKEN
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
commands =
python -c "import path; path.Path('dist').rmtree_p()"
python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
python -m build
python -m twine upload dist/*
python -m jaraco.develop.create-github-release

0 comments on commit 1ab967f

Please sign in to comment.