-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
78 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Sphinx~=5.2.1 | ||
docutils~=0.19 | ||
MarkupSafe~=2.1.1 |
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,11 @@ | ||
coverage[toml]>=6.5.0 | ||
coveralls~=3.3.1 | ||
pre-commit>=3.3.3 | ||
pip | ||
pytest-cache~=1.0 | ||
pytest-cov~=3.0.0 | ||
pytest-html~=3.1.1 | ||
pytest-instafail~=0.4.2 | ||
pytest-xdist~=2.5.0 | ||
pytest~=7.1.3 | ||
wheel~=0.37.1 |
Empty file.
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 |
---|---|---|
@@ -1,12 +1,56 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 65.4.0", # required by pyproject+setuptools_scm integration | ||
"setuptools_scm[toml] >= 3.5.0", # required for "no-local-version" scheme | ||
"setuptools_scm_git_archive >= 1.0", | ||
"wheel", | ||
"setuptools_scm[toml] >= 7.0.5", # required for "no-local-version" scheme | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
# https://peps.python.org/pep-0621/#readme | ||
requires-python = ">=3.10" | ||
dynamic = ["version", "dependencies", "optional-dependencies"] | ||
name = "tendo" | ||
description = "A Python library that extends some core functionality" | ||
readme = "README.md" | ||
authors = [{ "name" = "Sorin Sbarnea", "email" = "[email protected]" }] | ||
maintainers = [{ "name" = "Sorin Sbarnea", "email" = "[email protected]" }] | ||
license = { text = "MIT" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: Python Software Foundation License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Software Development :: Bug Tracking", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Software Development :: Quality Assurance", | ||
"Topic :: Software Development :: Testing", | ||
"Topic :: System :: Systems Administration", | ||
"Topic :: Utilities", | ||
] | ||
keywords = [ | ||
"tendo", | ||
"tee", | ||
"unicode", | ||
"colorer", | ||
"singleton", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/pycontribs/tendo" | ||
documentation = "https://tendo.readthedocs.io" | ||
repository = "https://github.com/pycontribs/tendo" | ||
changelog = "https://github.com/pycontribs/tendo/releases" | ||
|
||
[tool.black] | ||
target-version = ["py38"] | ||
|
||
|
@@ -28,6 +72,22 @@ concurrency = ["multiprocessing", "thread"] | |
profile = "black" | ||
add_imports = "from __future__ import annotations" | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = { file = [".config/requirements.in"] } | ||
optional-dependencies.docs = { file = [".config/requirements-docs.in"] } | ||
optional-dependencies.test = { file = [".config/requirements-test.in"] } | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "no-local-version" | ||
tag_regex = "^(?P<prefix>v)?(?P<version>\\d+[^\\+]*)(?P<suffix>.*)?$" | ||
write_to = "src/tendo/_version.py" | ||
# To prevent accidental pick of mobile version tags such 'v6' | ||
git_describe_command = [ | ||
"git", | ||
"describe", | ||
"--dirty", | ||
"--tags", | ||
"--long", | ||
"--match", | ||
"v*.*", | ||
] |
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 |
---|---|---|
@@ -1,78 +1,3 @@ | ||
[metadata] | ||
name = tendo | ||
|
||
author = Sorin Sbarnea | ||
author_email = [email protected] | ||
maintainer = Sorin Sbarnea | ||
maintainer_email = [email protected] | ||
summary = A Python library that extends some core functionality | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
home_page = https://github.com/pycontribs/tendo | ||
license_files = LICENSE.txt | ||
classifier = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Other Environment | ||
Intended Audience :: Developers | ||
Intended Audience :: Information Technology | ||
License :: OSI Approved :: Python Software Foundation License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
Programming Language :: Python :: 3.12 | ||
Programming Language :: Python :: 3.13 | ||
Topic :: Software Development :: Libraries :: Python Modules | ||
Topic :: Internet :: WWW/HTTP | ||
|
||
keywords = | ||
tendo | ||
tee | ||
unicode | ||
colorer | ||
singleton | ||
|
||
|
||
[options] | ||
use_scm_version = True | ||
python_requires = >=3.10 | ||
package_dir = | ||
= src | ||
packages = find: | ||
# Do not use include_package_data as we mention them explicitly. | ||
# see https://setuptools.pypa.io/en/latest/userguide/datafiles.html | ||
# include_package_data = True | ||
zip_safe = False | ||
install_requires = | ||
six | ||
|
||
[options.extras_require] | ||
test = | ||
coverage[toml]>=6.5.0 | ||
coveralls~=3.3.1 | ||
pre-commit>=3.3.3 | ||
pip | ||
pytest-cache~=1.0 | ||
pytest-cov~=3.0.0 | ||
pytest-html~=3.1.1 | ||
pytest-instafail~=0.4.2 | ||
pytest-xdist~=2.5.0 | ||
pytest~=7.1.3 | ||
wheel~=0.37.1 | ||
docs = | ||
Sphinx~=5.2.1 | ||
docutils~=0.19 | ||
MarkupSafe~=2.1.1 | ||
|
||
[options.package_data] | ||
* = | ||
py.typed | ||
**/*.txt | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
[build_sphinx] | ||
source-dir = docs | ||
build-dir = docs/build | ||
|