~soren/nova/iptables-security-groups

« back to all changes in this revision

Viewing changes to vendor/python-daemon/setup.py

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
 
 
3
# setup.py
 
4
# Part of python-daemon, an implementation of PEP 3143.
 
5
#
 
6
# Copyright © 2008–2010 Ben Finney <ben+python@benfinney.id.au>
 
7
# Copyright © 2008 Robert Niederreiter, Jens Klein
 
8
#
 
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.
 
13
 
 
14
""" Distribution setup for python-daemon library.
 
15
    """
 
16
 
 
17
import textwrap
 
18
from setuptools import setup, find_packages
 
19
 
 
20
distribution_name = "python-daemon"
 
21
main_module_name = 'daemon'
 
22
main_module = __import__(main_module_name, fromlist=['version'])
 
23
version = main_module.version
 
24
 
 
25
short_description, long_description = (
 
26
    textwrap.dedent(d).strip()
 
27
    for d in main_module.__doc__.split(u'\n\n', 1)
 
28
    )
 
29
 
 
30
 
 
31
setup(
 
32
    name=distribution_name,
 
33
    version=version.version,
 
34
    packages=find_packages(exclude=["test"]),
 
35
 
 
36
    # setuptools metadata
 
37
    zip_safe=False,
 
38
    test_suite="test.suite",
 
39
    tests_require=[
 
40
        "MiniMock >=1.2.2",
 
41
        ],
 
42
    install_requires=[
 
43
        "setuptools",
 
44
        "lockfile >=0.7",
 
45
        ],
 
46
 
 
47
    # PyPI metadata
 
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(),
 
53
    url=main_module._url,
 
54
    long_description=long_description,
 
55
    classifiers=[
 
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",
 
63
        ],
 
64
    )