Skip to content

Commit

Permalink
Added semantic installer in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
73VW committed Apr 16, 2018
1 parent 46763bd commit 261da95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from setuptools.command.install import install

INSTALL_CMD = "sudo apt-get install openssl"
CERT_CMD = "./install_cert.sh"
STATIC_CMD = "chmod +x static_installer.sh && ./static_installer.sh"
CERT_CMD = "chmod +x install_cert.sh && ./install_cert.sh"


class PostDevelopCommand(develop):
Expand All @@ -16,6 +17,7 @@ class PostDevelopCommand(develop):
def run(self):
"""Run post install script."""
check_call(INSTALL_CMD.split())
check_call(STATIC_CMD.split())
check_call(CERT_CMD.split())
develop.run(self)

Expand Down

0 comments on commit 261da95

Please sign in to comment.