projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a797e27
)
setup: check Python version.
author
whitequark
<whitequark@whitequark.org>
Thu, 13 Dec 2018 07:47:07 +0000
(07:47 +0000)
committer
whitequark
<whitequark@whitequark.org>
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",