From 6cf34abc240dcdd57d79a35742ea9e263f797bf0 Mon Sep 17 00:00:00 2001 From: Pierre Quentel Date: Tue, 22 Nov 2016 16:31:29 +0100 Subject: [PATCH] Add a check at the start of setup.py --- setup/setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/setup/setup.py b/setup/setup.py index da8f815f8..e367b1b9e 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -3,10 +3,17 @@ import os +if not os.path.exists(os.path.join(os.getcwd(), 'data', 'dist', + 'brython_modules.js')): + print('/data/dist/brython_modules.js not present. Use' + ' /data/prepare_setup.py to generate it') + import sys + sys.exit() + setup( name='brython', - version='3.2.9', + version='0.0.2', description='Brython is an implementation of Python 3 running in the browser',