projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0807f
)
setup: check Python version.
author
whitequark
<cz@m-labs.hk>
Thu, 13 Dec 2018 07:47:07 +0000
(07:47 +0000)
committer
whitequark
<cz@m-labs.hk>
Thu, 13 Dec 2018 07:47:07 +0000
(07:47 +0000)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 2ab0a80c2e27ecd710651a4b9378a478944a8536..c4067791e8cf0d06aaf81703d726ca41e1a66031 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-1,9
+1,10
@@
-import os
-from os import path
-
from setuptools import setup, find_packages
+if sys.version_info[:3] < (3, 7):
+ raise SystemExit("nMigen requires Python 3.7+")
+
+
setup(
name="nmigen",
version="0.1",