... | ... |
@@ -16,11 +16,16 @@ |
16 | 16 |
# You should have received a copy of the GNU General Public License |
17 | 17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 |
|
19 |
+import sys |
|
19 | 20 |
from setuptools import setup |
20 | 21 |
|
21 | 22 |
import versioneer |
22 | 23 |
|
23 | 24 |
|
25 |
+if sys.version_info < (3, 6): |
|
26 |
+ print('nord requires Python 3.6 or above.') |
|
27 |
+ sys.exit(1) |
|
28 |
+ |
|
24 | 29 |
requirements = [ |
25 | 30 |
'decorator', |
26 | 31 |
'structlog', |