summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
91ddbb7)
Move the daemon executable into the Python package and define an
entrypoint for it in setup.cfg so a similar `mudpy` executable will
still be installed. Drop the unnecessary import path override now
while at it.
-#!/usr/bin/env python3
-"""Skeletal executable for the mudpy engine."""
-
# Copyright (c) 2004-2016 Jeremy Stanley <fungi@yuggoth.org>. Permission
# to use, copy, modify, and distribute this software is granted under
# terms provided in the LICENSE file distributed with this software.
# core objects for the mudpy engine
import imp
# Copyright (c) 2004-2016 Jeremy Stanley <fungi@yuggoth.org>. Permission
# to use, copy, modify, and distribute this software is granted under
# terms provided in the LICENSE file distributed with this software.
# core objects for the mudpy engine
import imp
-sys.path.append(os.path.realpath("."))
+
+[entry_points]
+console_scripts =
+ mudpy = mudpy.daemon:main