Skip to content

Commit 1ab3bf6

Browse files
hmaarrfkjlaine
authored andcommitted
Add python_requires to help users not install this with python 2
Works toward #1057 You might need to yank the release and release 10.0.1
1 parent 7250b2f commit 1ab3bf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ def parse_cflags(raw_flags):
192192
url="https://github.com/PyAV-Org/PyAV",
193193
packages=find_packages(exclude=["build*", "examples*", "scratchpad*", "tests*"]),
194194
package_data=package_data,
195+
python_requires='>=3.7',
195196
zip_safe=False,
196197
ext_modules=ext_modules,
197198
test_suite="tests",

0 commit comments

Comments
 (0)