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
-import os
import sys
-sys.path.append(os.path.realpath("."))
import mudpy
[files]
packages =
mudpy
+
+[entry_points]
+console_scripts =
+ mudpy = mudpy.daemon:main