Skip to content

Commit c419bac

Browse files
authored
[setup] Require python 3.6 as minimal version (#31)
1 parent 5bd859d commit c419bac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ That's way we forked the original and accepted most of PRs waiting for review si
1818

1919
### Features
2020

21-
* Python 2 and 3 compatible
21+
* Python >=3.6 compatible
2222
* Automatic correction of
2323
* Linefeeds according to patched file
2424
* Diffs broken by stripping trailing whitespace

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Always prefer setuptools over distutils
88
import re
99
import os
10-
from setuptools import setup, find_packages
10+
from setuptools import setup
1111
# To use a consistent encoding
1212
from codecs import open
1313

@@ -39,6 +39,7 @@ def load_version():
3939

4040
setup(
4141
name='patch-ng',
42+
python_requires='>=3.6',
4243
# Versions should comply with PEP440. For a discussion on single-sourcing
4344
# the version across setup.py and the project code, see
4445
# https://packaging.python.org/en/latest/single_source_version.html
@@ -72,9 +73,8 @@ def load_version():
7273
'Intended Audience :: Developers',
7374
'Topic :: Software Development :: Build Tools',
7475
'License :: OSI Approved :: MIT License',
75-
'Programming Language :: Python :: 2',
76-
'Programming Language :: Python :: 2.7',
7776
'Programming Language :: Python :: 3',
77+
'Programming Language :: Python :: 3.6',
7878
],
7979

8080
# What does your project relate to?

0 commit comments

Comments
 (0)