PageRenderTime 29ms CodeModel.GetById 22ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/scramble/patches/python_daemon/setup.py

https://bitbucket.org/cistrome/cistrome-harvard/
Python | 64 lines | 38 code | 8 blank | 18 comment | 2 complexity | 61c2e02be1411c82f90b7cbd6ae86d13 MD5 | raw file
 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
17import textwrap
18from setuptools import setup, find_packages
19
20distribution_name = "python-daemon"
21main_module_name = 'daemon'
22main_module = __import__(main_module_name, fromlist=['version'])
23version = main_module.version
24
25short_description, long_description = (
26    textwrap.dedent(d).strip()
27    for d in main_module.__doc__.split(u'\n\n', 1)
28    )
29
30
31setup(
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    )