summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2023-01-17 08:16:35 +0100
committerGitHub <noreply@github.com>2023-01-17 08:16:35 +0100
commitf594266acf09896608234947611fb3af356130dd (patch)
treeb76039d9ebb1b0789449b51dfea93b41a9259ae1 /setup.py
parent3901d4ccdbd7c2450ff6faadebf2d33e2b246a7b (diff)
parent8a8047438ef9c3a7ec4ea1fff34ffa3e497c9a06 (diff)
downloadgitpython-f594266acf09896608234947611fb3af356130dd.tar.gz
Merge pull request #1541 from hugovk/add-3.11
Declare support for Python 3.11
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index daad454d..81ae0132 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ class sdist(_sdist):
def _stamp_version(filename: str) -> None:
found, out = False, []
try:
- with open(filename, "r") as f:
+ with open(filename) as f:
for line in f:
if "__version__ =" in line:
line = line.replace("\"git\"", "'%s'" % VERSION)
@@ -82,7 +82,7 @@ setup(
name="GitPython",
cmdclass={"build_py": build_py, "sdist": sdist},
version=VERSION,
- description="""GitPython is a python library used to interact with Git repositories""",
+ description="GitPython is a Python library used to interact with Git repositories",
author="Sebastian Thiel, Michael Trier",
author_email="byronimo@gmail.com, mtrier@gmail.com",
license="BSD",
@@ -95,7 +95,7 @@ setup(
install_requires=requirements,
tests_require=requirements + test_requirements,
zip_safe=False,
- long_description="""GitPython is a python library used to interact with Git repositories""",
+ long_description="""GitPython is a Python library used to interact with Git repositories""",
long_description_content_type="text/markdown",
classifiers=[
# Picked from
@@ -121,5 +121,6 @@ setup(
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
],
)