#!/usr/bin/env python
# Build Script
import sys,os
import subprocess

if len(sys.argv) < 2 :
	print ("Building Repository")
	ret = subprocess.call(sys.executable + " setup.py sdist bdist_egg --exclude-source-file bdist_wheel",shell = True)
	print ("Done ", ret)
	print ("Build drop location is: ",  os.getcwd() + "/dist")
elif sys.argv[1] == "clean":
	ret = subprocess.call(sys.executable + " setup.py clean --all",shell = True)
	print ("Done ", ret)
sys.exit(ret)