setup: check Python version.
This commit is contained in:
parent
a797e27573
commit
48330f8742
1 changed files with 4 additions and 3 deletions
7
setup.py
7
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue