Skip to content

Commit

Permalink
[python] Specify python_requires
Browse files Browse the repository at this point in the history
Indicate to install tools that the generated code won't work with Python
3.0.x, 3.1.x and 3.2.x (due to use of `u"foo"` string literals).

Closes #192 and #191, opened by Andreas Maier.
  • Loading branch information
ojwb committed Jan 23, 2024
1 parent f8095c9 commit b9ce604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@
license="BSD-3-Clause",
packages=['snowballstemmer'],
package_dir={"snowballstemmer": "src/snowballstemmer"},
python_requires='!=3.0.*, !=3.1.*, !=3.2.*',
classifiers = classifiers
)

0 comments on commit b9ce604

Please sign in to comment.