Skip to content

Commit

Permalink
Add a check at the start of setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Quentel committed Nov 22, 2016
1 parent 401162f commit 6cf34ab
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',

Expand Down

0 comments on commit 6cf34ab

Please sign in to comment.