Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 032ca90

Browse files
authored
Add minimum python version in setup.py
It looks like latest released version don't support Python 3.5 anymore. It is failing on line https://github.com/Pithikos/python-websocket-server/blob/master/websocket_server/websocket_server.py#L296 because it is using a f-string which is only available in Python 3.6+. If it was intentional, this PR is adding the correct package metadata so pip can choose the right version depending on the user Python Version.
1 parent ed73f9c commit 032ca90

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
@@ -53,4 +53,5 @@ def run(self):
5353
cmdclass={
5454
'verify': VerifyVersionCommand,
5555
},
56+
python_requires=">=3.6",
5657
)

0 commit comments

Comments
 (0)