Skip to content

Commit

Permalink
[2.0.3] Available from PIP for Ubuntu 18.04 + Python 3.6
Browse files Browse the repository at this point in the history
From 7fc0602
the minimal Python requirement `>= 3.7`, but https://pypi.org/project/railroad-diagrams/2.0.3/ is
still availble from PIP for Ubuntu 18.04 + Python 3.6.

By adding `python_requires=">= 3.7"` to `setup.py` we could prevent this
behavior precisely.

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
  • Loading branch information
hswong3i committed Jun 24, 2022
1 parent 381995c commit 7267c30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
author_email='[email protected]',
url='https://github.com/tabatkins/railroad-diagrams',
keywords=['diagrams', 'syntax', 'grammar', 'railroad diagrams'],
python_requires=">= 3.7",
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
)
)

0 comments on commit 7267c30

Please sign in to comment.