-
-
Notifications
You must be signed in to change notification settings - Fork 879
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
2 changed files
with
110 additions
and
102 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 |
---|---|---|
|
@@ -14,7 +14,7 @@ addopts = '''-p no:xdist --durations=10 --tb=long -rxX -v --color=yes | |
--junitxml=build/results.xml | ||
--cov-report=xml --cov jira''' | ||
|
||
# these are important for distributed testing, to speedup their execution we minimize what we sync | ||
# these are important for distributed testing, to speed up their execution we minimize what we sync | ||
rsyncdirs = ". jira demo docs" | ||
rsyncignore = ".git" | ||
|
||
|
@@ -80,3 +80,112 @@ required-imports = ["from __future__ import annotations"] | |
[tool.ruff.pydocstyle] | ||
# Use Google-style docstrings. | ||
convention = "google" | ||
|
||
[project] | ||
name = "jira" | ||
authors = [{name = "Ben Speakmon", email = "[email protected]"}] | ||
maintainers = [{name = "Sorin Sbarnea", email = "[email protected]"}] | ||
description = "Python library for interacting with JIRA via REST APIs." | ||
requires-python = ">=3.8" | ||
license = {text = "BSD-2-Clause"} | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Other Environment", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Internet :: WWW/HTTP", | ||
] | ||
keywords = ["api", "atlassian", "jira", "rest", "web"] | ||
dependencies = [ | ||
"defusedxml", | ||
"packaging", | ||
"Pillow>=2.1.0", | ||
"requests-oauthlib>=1.1.0", | ||
"requests>=2.10.0", | ||
"requests_toolbelt", | ||
"typing_extensions>=3.7.4.2", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.readme] | ||
file = "README.rst" | ||
content-type = "text/x-rst; charset=UTF-8" | ||
# Do not include ChangeLog in description-file due to multiple reasons: | ||
# - Unicode chars, see https://github.com/pycontribs/jira/issues/512 | ||
# - Breaks ability to perform `python setup.py install` | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/pycontribs/jira" | ||
"Bug Tracker" = "https://github.com/pycontribs/jira/issues" | ||
"Release Management" = "https://github.com/pycontribs/jira/projects" | ||
"CI: GitHub Actions" = "https://github.com/pycontribs/jira/actions" | ||
"Source Code" = "https://github.com/pycontribs/jira.git" | ||
Documentation = "https://jira.readthedocs.io" | ||
Forum = "https://community.atlassian.com/t5/tag/jira-python/tg-p?sort=recent" | ||
|
||
[project.optional-dependencies] | ||
cli = [ | ||
"ipython>=4.0.0", | ||
"keyring", | ||
] | ||
docs = [ | ||
"sphinx>=5.0.0", | ||
"sphinx-copybutton", | ||
# HTML Theme | ||
"furo", | ||
] | ||
opt = [ | ||
"filemagic>=1.6", | ||
"PyJWT", | ||
"requests_jwt", | ||
"requests_kerberos", | ||
] | ||
async = ["requests-futures>=0.9.7"] | ||
test = [ | ||
"docutils>=0.12", | ||
"flaky", | ||
"MarkupSafe>=0.23", | ||
"oauthlib", | ||
"pytest-cache", | ||
"pytest-cov", | ||
"pytest-instafail", | ||
"pytest-sugar", | ||
"pytest-timeout>=1.3.1", | ||
"pytest-xdist>=2.2", | ||
"pytest>=6.0.0", # MIT | ||
"PyYAML>=5.1", # MIT | ||
"requests_mock", # Apache-2 | ||
"requires.io", # UNKNOWN!!! | ||
"tenacity", # Apache-2 | ||
"wheel>=0.24.0", # MIT | ||
"yanc>=0.3.3", # GPL | ||
"parameterized>=0.8.1", # BSD-3-Clause | ||
] | ||
|
||
[project.scripts] | ||
jirashell = "jira.jirashell:main" | ||
|
||
[tool.files] | ||
packages = """ | ||
jira""" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
zip-safe = false | ||
platforms = ["any"] | ||
|
||
[tool.setuptools.packages] | ||
find = {namespaces = false} | ||
|
||
[tool.setuptools.package-data] | ||
jira = ["jira/py.typed"] |