diff --git a/chaperone/cproc/version.py b/chaperone/cproc/version.py index f117e5b..79a8a81 100644 --- a/chaperone/cproc/version.py +++ b/chaperone/cproc/version.py @@ -1,7 +1,7 @@ # This file is designed to be used as a package module, but also as a main program runnable # by Python2 or Python3 which will print the version. Used in setup.py -VERSION = (0,3,10) +VERSION = (0,3,11) DISPLAY_VERSION = ".".join([str(v) for v in VERSION]) LICENSE = "Apache License, Version 2.0" diff --git a/chaperone/exec/chaperone.py b/chaperone/exec/chaperone.py index df87fa0..dd35352 100755 --- a/chaperone/exec/chaperone.py +++ b/chaperone/exec/chaperone.py @@ -188,18 +188,6 @@ def main_entry(): if tlp.debug: config.dump() - # Set proctitle and go - - proctitle = "[" + os.path.basename(sys.argv[0]) + "]" - if cmd: - proctitle += " " + cmd - - try: - from setproctitle import setproctitle - setproctitle(proctitle) - except ImportError: - pass - # Define here so we can share scope @asyncio.coroutine diff --git a/chaperone/exec/sdnotify_exec.py b/chaperone/exec/sdnotify_exec.py index 6af1170..123ea46 100644 --- a/chaperone/exec/sdnotify_exec.py +++ b/chaperone/exec/sdnotify_exec.py @@ -134,13 +134,6 @@ def __init__(self, options): loop.add_signal_handler(signal.SIGTERM, self._got_sig) loop.add_signal_handler(signal.SIGINT, self._got_sig) - proctitle = '[sdnotify-exec]' - - try: - from setproctitle import setproctitle - setproctitle(proctitle) - except ImportError: - pass def info(self, msg): if self.verbose: diff --git a/setup.py b/setup.py index 919ff35..b933a32 100644 --- a/setup.py +++ b/setup.py @@ -33,9 +33,6 @@ def is_exe(fpath): requires_list = ['docopt>=0.6.2', 'ruamel.yaml<=0.15', 'voluptuous>=0.8.7', 'aiocron>=0.3'] -if which('gcc'): - requires_list += ["setproctitle>=1.1.8"] - setup( name = "chaperone", version = get_version(),