diff --git a/pyproject.toml b/pyproject.toml index beee10b..d343047 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,6 @@ Documentation = "https://sphinx-intl.readthedocs.io" sphinx-intl = "sphinx_intl.commands:main" [tool.setuptools] -zip-safe = false include-package-data = true [tool.setuptools.dynamic] @@ -57,3 +56,7 @@ version = {attr = "sphinx_intl.__version__"} [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" + +[tool.mypy] +ignore_missing_imports = true +strict_optional = false diff --git a/setup.cfg b/setup.cfg index 4c49585..6f4d040 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,23 +1,17 @@ -# to bulid release: -# 1. COMMENT OUT `[egg_info]` section -# 2. $ pip install build -# 3. $ python -m build +# 1. initialize +# $ pip install -U build twine -# to test upload: +# 2. TEST build & release: +# $ rm -Rf build/ +# $ python -m build # $ twine upload --repository-url https://test.pypi.org/legacy/ dist/* -# to production upload: +# 3. PRODUCTION build & release: +# $ rm -Rf build/ +# $ rm setup.cfg +# $ python -m build # $ twine upload dist/* [egg_info] tag_build = dev tag_date = true - -[flake8] -;show-pep8=true -;show-source=true -max-line-length=95 - -[mypy] -ignore_missing_imports = True -strict_optional = False diff --git a/tox.ini b/tox.ini index 09df126..7d008b6 100644 --- a/tox.ini +++ b/tox.ini @@ -38,3 +38,8 @@ deps= docutils wheel commands={envpython} setup.py -q check -r -s sdist bdist_wheel + +[flake8] +# show-pep8=true +# show-source=true +max-line-length=95