1
0
Fork 0

Adding upstream version 0.15.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 06:02:54 +01:00
parent a06c1515ef
commit d5d4d405a2
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
75 changed files with 1281 additions and 1555 deletions

View file

@ -7,13 +7,6 @@ import os
import platform
import sys
# There is an issue with building python packages in a shared vagrant directory because of how setuptools works
# in python < 2.7.9. We solve this by deleting the filesystem hardlinking capability during build.
# See: http://stackoverflow.com/a/22147112/381010
try:
del os.link
except:
pass # Not all OSes (e.g. windows) support os.link
description = "Git commit message linter written in python, checks your commit messages for style."
long_description = """
@ -52,8 +45,6 @@ setup(
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
@ -66,18 +57,23 @@ setup(
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: MIT License"
],
python_requires=">=3.6",
install_requires=[
'Click==7.0',
'arrow==0.15.5',
'Click==7.1.2',
'arrow==0.17.0',
],
extras_require={
':sys_platform != "win32"': [
'sh==1.12.14',
'sh==1.14.1',
],
},
keywords='gitlint git lint',
author='Joris Roovers',
url='https://github.com/jorisroovers/gitlint',
url='https://jorisroovers.github.io/gitlint',
project_urls={
'Documentation': 'https://jorisroovers.github.io/gitlint',
'Source': 'https://github.com/jorisroovers/gitlint',
},
license='MIT',
package_data={
'gitlint': ['files/*']
@ -93,8 +89,7 @@ setup(
# Print a red deprecation warning for python < 3.6 users
if sys.version_info[:2] < (3, 6):
msg = "\033[31mDEPRECATION: You're using a python version that has reached end-of-life. " + \
"Gitlint does not support Python < 3.5 or < 2.7, and will be dropping support for " + \
"Python 2.7 and 3.5 in the next release. " + \
"Gitlint does not support Python < 3.6" + \
"Please upgrade your Python to 3.6 or above.\033[0m"
print(msg)