Skip to content

Commit

Permalink
Hackily compile webapp sources
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Jun 23, 2021
1 parent 2e74474 commit 06d2fc5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,26 @@
from __future__ import division
from __future__ import print_function

import subprocess
from pathlib import Path
from setuptools import setup


# HACK: Compile the webapp sources
subprocess.run(
[
"docker",
"run",
"--rm",
f"-v={Path(__file__).parent}:/shared",
"-w=/shared",
"diracgrid/dirac-distribution",
"/dirac-webapp-compile.py",
"-D=/shared/src",
"-n=WebAppDIRAC",
],
check=True
)

# This is required to allow editable pip installs while using the declarative configuration (setup.cfg)
setup()

0 comments on commit 06d2fc5

Please sign in to comment.