Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 110 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,112 @@
[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"]

[build-system]
requires = ["setuptools >= 60.0.0", "setuptools_scm[toml] >= 7.0.0"]
build-backend = "setuptools.build_meta"
Expand All @@ -14,7 +123,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"

Expand Down
101 changes: 0 additions & 101 deletions setup.cfg

This file was deleted.