Skip to content

Commit

Permalink
Support pyproject.toml:project section (#507)
Browse files Browse the repository at this point in the history
* Support pyproject.toml:project section

- Bump [email protected] that fixes pyproject.toml:project section

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr authored Apr 13, 2022
1 parent c26cb87 commit 331d6da
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ Requirements
py7zr
texttable
bs4
dataclasses
dataclasses; python_version < "3.7"
defusedxml

- Operating Systems:
Linux, macOS, MS Windows
Expand Down
1 change: 1 addition & 0 deletions ci/build_standalone.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pip install -U pip
pip install virtualenv
virtualenv build_venv
call build_venv\Scripts\activate.bat
Expand Down
78 changes: 78 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
[project]
name = "aqtinstall"
description = "Another unofficial Qt installer"
readme = "README.rst"
license = {file = "LICENSE"}
authors = [
{name = "Hiroshi Miura", email = "[email protected]"},
]
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"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ check =
pygments
packaging
docs =
sphinx>=1.8
sphinx>=2.3
sphinx_rtd_theme
sphinx-py3doc-enhanced-theme

0 comments on commit 331d6da

Please sign in to comment.