Support pyproject.toml:project section (#507)

* Support pyproject.toml:project section

- Bump py7zr@0.18.3 that fixes pyproject.toml:project section

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2022-04-14 08:05:37 +09:00
committed by GitHub
parent c26cb871ae
commit 331d6da51e
4 changed files with 82 additions and 2 deletions

View File

@@ -60,7 +60,8 @@ Requirements
py7zr
texttable
bs4
dataclasses
dataclasses; python_version < "3.7"
defusedxml
- Operating Systems:
Linux, macOS, MS Windows

View File

@@ -1,3 +1,4 @@
pip install -U pip
pip install virtualenv
virtualenv build_venv
call build_venv\Scripts\activate.bat

View File

@@ -1,3 +1,81 @@
[project]
name = "aqtinstall"
description = "Another unofficial Qt installer"
readme = "README.rst"
license = {file = "LICENSE"}
authors = [
{name = "Hiroshi Miura", email = "miurahr@linux.com"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: C++",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
requires-python = ">=3.6"
dependencies = [
"requests",
"semantic_version",
"patch>=1.16",
"py7zr>=0.18.3",
"texttable",
"bs4",
"dataclasses;python_version<'3.7'",
"defusedxml",
]
dynamic = ["version"]
[project.scripts]
aqt = "aqt.__main__:main"
[project.optional-dependencies]
test = [
"pytest>=6.0",
"pytest-pep8",
"pytest-remotedata",
"pytest-cov",
"pytest-socket",
"pytest-leaks",
"pympler",
]
check = [
"flake8",
"flake8-black",
"flake8-colors",
"flake8-isort",
"flake8-pyi",
"flake8-typing-imports",
"docutils",
"check-manifest",
"readme-renderer",
"pygments",
"packaging",
]
docs = [
"sphinx>=2.3",
"sphinx_rtd_theme",
"sphinx-py3doc-enhanced-theme",
]
[project.urls]
Documentation = "https://aqtinstall.readthedocs.io/"
Bug_Tracker = "https://github.com/miurahr/aqtinstall/issues"
Wiki = "https://github.com/miurahr/aqtinstall/wiki"
Source = "https://github.com/miurahr/aqtinstall"
Changelog = "https://github.com/miurahr/aqtinstall/blob/master/CHANGELOG.rst"
[tool.poetry]
include = ["*.yml", "*.json", "*.ini"]
[build-system]
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=6.4"]
build-backend = "setuptools.build_meta"

View File

@@ -81,6 +81,6 @@ check =
pygments
packaging
docs =
sphinx>=1.8
sphinx>=2.3
sphinx_rtd_theme
sphinx-py3doc-enhanced-theme