-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #804 from strictdoc-project/fix_release_files
tasks, packaging: switch to pyproject.toml, remove setup.py
- Loading branch information
Showing
10 changed files
with
154 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.version] | ||
path = "strictdoc/__init__.py" | ||
|
||
#[tool.hatch.build.targets.sdist] | ||
#include = [ | ||
# "/uvicorn", | ||
#] | ||
|
||
[project] | ||
name = "strictdoc" | ||
dynamic = ["version"] | ||
description = "Open-source software for writing technical requirements specifications." | ||
readme = "README.md" | ||
license = "Apache-2.0" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "Stanislav Pankevich", email = "[email protected]" }, | ||
{ name = "Maryna Balioura", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
# "Development Status :: 4 - Beta", | ||
# "Environment :: Web Environment", | ||
# "Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
# "Topic :: Internet :: WWW/HTTP", | ||
] | ||
dependencies = [ | ||
"textx >= 3.0.0, == 3.*", | ||
"jinja2 >= 2.11.2", | ||
# FIXME: This might be not relevant anymore. | ||
# https://github.com/aws/aws-sam-cli/issues/3661#issuecomment-1044340547 | ||
"MarkupSafe == 2.0.1", | ||
|
||
"docutils >= 0.16, == 0.*", | ||
"python-datauri >= 0.2.9, == 0.*", | ||
"beautifulsoup4 >= 4.9.3, == 4.*", | ||
"pygments >= 2.10.0, == 2.*", | ||
|
||
"lxml >= 4.6.2, == 4.*", | ||
|
||
# Excel | ||
"XlsxWriter >= 1.3.7, == 1.*", | ||
"xlrd >= 2.0.1, == 2.*", | ||
|
||
# reqif and strictdoc share the same development cycle and both still stay | ||
# within their 0.0.* versions. Hardcoding until both projects start to track the | ||
# backward incompatible API updates by MAJOR and MINOR version components. | ||
"reqif == 0.0.21, == 0.*", | ||
|
||
# Bibtex | ||
"pybtex >= 0.23.0, == 0.*", | ||
|
||
# Web server dependencies | ||
"fastapi >= 0.83.0", | ||
# FastAPI: To receive uploaded files and/or form data, first install python-multipart. | ||
"python-multipart", | ||
"uvicorn[standard] >= 0.14.0", | ||
"WebSockets", | ||
] | ||
|
||
[project.optional-dependencies] | ||
development = [ | ||
# Development tasks | ||
"invoke>=1.4.1", | ||
"toml", | ||
# Reload files when changed | ||
"watchdog>=2.1.7", | ||
|
||
# Packaging | ||
"build", | ||
"twine", | ||
|
||
# Linters and static analysis | ||
"black>=21.9b0", | ||
"mypy>=0.910", | ||
"pylint>=2.11.1", | ||
"flake8>=3.9.2", | ||
|
||
# Tests | ||
"pytest>=6.2.2", | ||
"pyfakefs>=4.5.5", | ||
"coverage>=5.4", | ||
"lit>=0.11.0.post1", | ||
"filecheck>=0.0.20", | ||
# Tests: Validating content | ||
"html5lib>=1.1", | ||
"pytidylib>=0.3.2", | ||
"openpyxl>=3.0.5", | ||
|
||
# Documentation | ||
"sphinx>=3.2.1", | ||
"guzzle_sphinx_theme~=0.7.11", | ||
|
||
# Used by the dead links checker | ||
"requests>=2.27.1", | ||
|
||
# Server-related | ||
"seleniumbase", | ||
# httpx is needed for running server-related unit tests. | ||
"httpx", | ||
# psutil is needed to reap Uvicorn's zombie processes when running end2end | ||
# tests. One day someone finds a better solution. | ||
"psutil", | ||
] | ||
|
||
[project.scripts] | ||
strictdoc = "strictdoc.cli.main:main" | ||
|
||
[project.urls] | ||
Changelog = "https://github.com/strictdoc-project/strictdoc/blob/main/CHANGELOG.md" | ||
# Funding = "https://..." | ||
Homepage = "https://strictdoc.readthedocs.io/en/stable/" | ||
Source = "https://github.com/strictdoc-project/strictdoc" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters