From ede0547a2e4ffbfa7670ecabd507dd892b6b0b85 Mon Sep 17 00:00:00 2001 From: kaliko Date: Sun, 25 Nov 2012 16:57:10 +0100 Subject: [PATCH] Fixed setup.py --- MANIFEST.in | 2 ++ setup.py | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..20078e8 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include doc/* +include doc/examples/* diff --git a/setup.py b/setup.py index d7fa1b7..fe96724 100755 --- a/setup.py +++ b/setup.py @@ -6,9 +6,9 @@ from distutils.core import setup from seth import Daemon -DESCRIPTION = """\ -Implement a simple Daemon object allowing to daemonize *nix processes. -""" +DESCRIPTION = open('doc/README').read() + +VERSION=Daemon.version CLASSIFIERS = [ "Development Status :: 4 - Beta", @@ -16,7 +16,7 @@ CLASSIFIERS = [ "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Operating System :: POSIX", - "Programming Language :: Python", + "Programming Language :: Python :: 2", "Topic :: Software Development :: Libraries :: Python Modules", ] @@ -35,13 +35,13 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program. If not, see . +along with this program. If not, see .\ """ setup( name="python-daemon", - version=Daemon.version, + version=VERSION, description="Python Daemon library", py_modules=["seth"], long_description=DESCRIPTION, @@ -52,7 +52,7 @@ setup( classifiers=CLASSIFIERS, license=LICENSE, keywords=["daemon", "unix"], - platforms=["POSIX"], + platforms=["POSIX"] ) -- 2.39.2