#!/usr/bin/env python

from distutils.core import setup
import subprocess
import sys
import os

path = os.path.dirname(os.path.realpath(__file__))

submodule_path = os.path.join(path, "spacescout_admin")

subprocess.call(["git", "submodule", "init"], cwd=path)
subprocess.call(["git", "submodule", "update"], cwd=path)
subprocess.call(["git", "submodule", "foreach", "git", "pull", "origin", "qa"], cwd=path)


setup(name='SpaceScout-Admin-Wrapper',
      version='1.0',
)

subprocess.call(["pip", "install", "-r", "requirements.txt"], cwd=submodule_path)

#!/usr/bin/env python

from distutils.core import setup
import subprocess
import sys
import os

path = os.path.dirname(os.path.realpath(__file__))

submodule_path = os.path.join(path, "spacescout_admin")

subprocess.call(["git", "submodule", "init"], cwd=path)
subprocess.call(["git", "submodule", "update"], cwd=path)
subprocess.call(["git", "submodule", "foreach", "git", "pull", "origin", "master"], cwd=path)


setup(name='SpaceScout-Admin-Wrapper',
      version='1.0',
)

subprocess.call(["pip", "install", "-r", "requirements.txt"], cwd=submodule_path)

Revert to master (for prod host)
Revert to master (for prod host)