diff --git a/bin/batch_daemon b/bin/mutalyzer-batchd similarity index 98% rename from bin/batch_daemon rename to bin/mutalyzer-batchd index 0d7a9c1b080f3ab2e28f9befeaf17b629ac0ebc3..3df71c5b8ba42253962ed51eb8ee0fcf07afbd37 100755 --- a/bin/batch_daemon +++ b/bin/mutalyzer-batchd @@ -7,6 +7,7 @@ We use python-daemon [1] for daemonizing the job processing. This file should be run with the mutalyzer directory as working directory. @todo: Check if PID dir is writable. +@todo: Get rid of ugly exception logging. [1] http://pypi.python.org/pypi/python-daemon/ """ diff --git a/setup.py b/setup.py index d7b19a806e82066288c1eebbad8f765286ee6d60..ccefce08738947af14313a38e337d4a10f6409ee 100644 --- a/setup.py +++ b/setup.py @@ -13,10 +13,18 @@ setup( author=distmeta.__author__, author_email=distmeta.__contact__, url=distmeta.__homepage__, + license='Not distributable', + platform=['any'], packages=find_packages(exclude=['doc', 'extras', 'tests']), include_package_data=True, - scripts=['bin/batch_daemon'], + scripts=['bin/mutalyzer-batchd'], zip_safe=False - #data_files=[('/etc/init.d', ['examples/init.d/mutalyzer-batchd'])] - # Todo: templates, doc, bin ) + +# Things not handled by this setup.py: +# - Copy extras/config.example to /etc/mutalyzer/config +# - Database setup +# - Chown /var/log/mutalyzer.log +# - Copy extras/init.d/mutalyzer-batchd to /etc/init.d/mutalyzer-batchd +# - Copy doc to /usr/share/doc +# Perhaps as a postinstall script?