From 2e7ab8bda69784afc1c67a5e2c4f414c37baccb6 Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 1 Dec 2012 13:16:41 +0100 Subject: [PATCH] Update setup.py with 0.6 --- seth.py | 4 ++-- setup.py | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/seth.py b/seth.py index 77f7a4b..2ca65c8 100644 --- a/seth.py +++ b/seth.py @@ -27,7 +27,7 @@ class Daemon(object): stdout : standard output file descriptor (default to /dev/null) stderr : standard error file descriptorr (default to /dev/null) """ - version = '0.5' + version = '0.6' def __init__(self, pidfile, stdin = os.devnull, @@ -153,7 +153,7 @@ class Daemon(object): """ Stop the daemon """ - # Get the pid from the pidopen + # Get the pid from the pidfile try: pf = open(self.pidfile, 'r') pid = int(pf.read().strip()) diff --git a/setup.py b/setup.py index da436c0..9977e76 100755 --- a/setup.py +++ b/setup.py @@ -16,9 +16,10 @@ CLASSIFIERS = [ "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Operating System :: POSIX", - "Programming Language :: Python :: 2", "Topic :: Software Development :: Libraries :: Python Modules", -] + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 3",] + [ + ("Programming Language :: Python :: %s" % x) for x in "2.7 3.2 3.3".split()], LICENSE = """\ Copyright 2007, 2009 Sander Marechal -- 2.39.2