daemon: Use automake to install python data files.

Includes other small changes.
This commit is contained in:
tgoff0 2015-05-26 17:33:57 +00:00
parent 666efe9788
commit 0ce17e8c52
4 changed files with 87 additions and 42 deletions

View file

@ -5,20 +5,11 @@ import os, glob
from distutils.core import setup
from corens3.constants import COREDPY_VERSION
# optionally pass CORE_CONF_DIR using environment variable
confdir = os.environ.get('CORE_CONF_DIR')
if confdir is None:
confdir="/etc/core"
setup(name = "corens3-python",
version = COREDPY_VERSION,
packages = [
"corens3",
],
data_files = [
("share/core/examples/corens3",
glob.glob("examples/*.py")),
],
description = "Python ns-3 components of CORE",
url = "http://www.nrl.navy.mil/itd/ncs/products/core",
author = "Boeing Research & Technology",