1
# -*- coding: utf-8 -*-
4
# Part of python-daemon, an implementation of PEP 3143.
6
# Copyright © 2008–2010 Ben Finney <ben+python@benfinney.id.au>
7
# Copyright © 2008 Robert Niederreiter, Jens Klein
9
# This is free software: you may copy, modify, and/or distribute this work
10
# under the terms of the Python Software Foundation License, version 2 or
11
# later as published by the Python Software Foundation.
12
# No warranty expressed or implied. See the file LICENSE.PSF-2 for details.
14
""" Distribution setup for python-daemon library.
18
from setuptools import setup, find_packages
20
distribution_name = "python-daemon"
21
main_module_name = 'daemon'
22
main_module = __import__(main_module_name, fromlist=['version'])
23
version = main_module.version
25
short_description, long_description = (
26
textwrap.dedent(d).strip()
27
for d in main_module.__doc__.split(u'\n\n', 1)
32
name=distribution_name,
33
version=version.version,
34
packages=find_packages(exclude=["test"]),
38
test_suite="test.suite",
48
author=version.author_name,
49
author_email=version.author_email,
50
description=short_description,
51
license=version.license,
52
keywords=u"daemon fork unix".split(),
54
long_description=long_description,
56
# Reference: http://pypi.python.org/pypi?%3Aaction=list_classifiers
57
"Development Status :: 4 - Beta",
58
"License :: OSI Approved :: Python Software Foundation License",
59
"Operating System :: POSIX",
60
"Programming Language :: Python",
61
"Intended Audience :: Developers",
62
"Topic :: Software Development :: Libraries :: Python Modules",