~ubuntu-branches/ubuntu/trusty/zc.lockfile/trusty

« back to all changes in this revision

Viewing changes to .pc/no_doc_txt.patch/setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Gediminas Paulauskas
  • Date: 2011-06-30 19:42:24 UTC
  • Revision ID: james.westby@ubuntu.com-20110630194224-i8zx2yvt30nwfag8
Tags: 1.0.0-4ubuntu1
* Use dh_python2 instead of deprecated python-central. (Closes: #617153)
* Do not use python-van.pydeb.
* debian/control: build-depend on python-all (not -dev).
* debian/copyright: update, convert to dep5 format.
* debian/rules: fix override to really install zc/__init__.py.
* Switch to 3.0 (quilt) source format
* debian/patches/no_doc_txt.patch: add, do not write a doc.txt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##############################################################################
 
2
#
 
3
# Copyright (c) Zope Corporation and Contributors.
 
4
# All Rights Reserved.
 
5
#
 
6
# This software is subject to the provisions of the Zope Public License,
 
7
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
 
8
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 
9
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 
10
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 
11
# FOR A PARTICULAR PURPOSE.
 
12
#
 
13
##############################################################################
 
14
name, version = "zc.lockfile", '1.0.0'
 
15
 
 
16
import os
 
17
from setuptools import setup, find_packages
 
18
 
 
19
def read(*rnames):
 
20
    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
21
 
 
22
long_description=(
 
23
        read('README.txt')
 
24
        + '\n' +
 
25
        'Detailed Documentation\n'
 
26
        '**********************\n'
 
27
        + '\n' +
 
28
        read('src', 'zc', 'lockfile', 'README.txt')
 
29
        + '\n' +
 
30
        read('src', 'zc', 'lockfile', 'CHANGES.txt')
 
31
        + '\n' +
 
32
        'Download\n'
 
33
        '**********************\n'
 
34
        )
 
35
 
 
36
open('doc.txt', 'w').write(long_description)
 
37
 
 
38
setup(
 
39
    name = name, version=version,
 
40
    author = "Jim Fulton",
 
41
    author_email = "jim@zope.com",
 
42
    description = "Basic inter-process locks",
 
43
    long_description=long_description,
 
44
    license = "ZPL 2.1",
 
45
    keywords = "lock",
 
46
    url='http://www.python.org/pypi/'+name,
 
47
 
 
48
    packages = find_packages('src'),
 
49
    package_dir = {'': 'src'},
 
50
    namespace_packages = ['zc'],
 
51
    install_requires = 'setuptools',
 
52
    include_package_data = True,
 
53
    zip_safe=False,
 
54
    classifiers = [
 
55
        'Programming Language :: Python',
 
56
        'Development Status :: 4 - Beta',
 
57
        'Intended Audience :: Developers',
 
58
        'License :: OSI Approved :: Zope Public License',
 
59
        'Operating System :: POSIX',
 
60
        'Operating System :: Microsoft :: Windows',
 
61
       ],
 
62
    )