Look for compiled static files, to see if they need to be created
This commit is contained in:
parent
590f43297f
commit
b488c349e8
2
setup.py
2
setup.py
|
@ -72,7 +72,7 @@ class SmartInstall(install):
|
||||||
`build_static` which is required for JavaScript assets and other things.
|
`build_static` which is required for JavaScript assets and other things.
|
||||||
"""
|
"""
|
||||||
def _needs_static(self):
|
def _needs_static(self):
|
||||||
return not os.path.exists(os.path.join(ROOT, 'lemur-package.json'))
|
return not os.path.exists(os.path.join(ROOT, 'lemur/static/dist'))
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if self._needs_static():
|
if self._needs_static():
|
||||||
|
|
Loading…
Reference in New Issue