-
-
Notifications
You must be signed in to change notification settings - Fork 894
migrate setup.cfg to pyproject.toml #1776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
adehad
merged 3 commits into
pycontribs:main
from
deronnax:mdupuy/-/migrate-to-pyproject
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,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" | ||
|
|
@@ -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" | ||
|
|
||
|
|
||
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.