From 4f924fca750f90f75acfd5589ac601783c9f12af Mon Sep 17 00:00:00 2001 From: Georgi Sabev Date: Sun, 18 Mar 2018 11:00:12 +0200 Subject: Add helper scripts for Mac OSX --- setup.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 95ae7f4..36c5628 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +import os, subprocess from setuptools import setup, find_packages setup( @@ -11,3 +12,12 @@ setup( author_email="reiner@reiner-h.de", license="GPLv2+", ) + +if(os.uname().sysname == "Darwin"): + project_dir = os.path.dirname(os.path.realpath(__file__)) + mac_setup_script = os.path.join(project_dir, "scripts", "osx_check.sh") + subprocess.check_call(mac_setup_script) + print("################################################") + print("OSX Installation Notice") + print("################################################") + print("In order to fully complete the installation, run 'sudo scripts/osx_post_install.sh'") -- cgit v1.2.3