gochan-org / gochan

Function with cyclomatic complexity higher than threshold PY-R1000
Anti-pattern
Minor
2 months ago6 months old
install has a cyclomatic complexity of 21 with "high" risk
282		sys.exit(1)
283
284
285def install(prefix="/usr", document_root="/srv/gochan", symlinks=False, js_only=False, css_only=False, templates_only=False):286	if gcos == "windows":
287		print("Installation is not currently supported for Windows, use the respective directory created by running `python build.py release`")
288		sys.exit(1)