File: setup.py

package info (click to toggle)
ibid 0.1.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,828 kB
  • ctags: 3,208
  • sloc: python: 15,312; makefile: 124
file content (76 lines) | stat: -rwxr-xr-x 1,922 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# Copyright (c) 2008-2011, Michael Gorven, Stefano Rivera
# Released under terms of the MIT/X/Expat Licence. See COPYING for details.

from sys import version_info, argv

from setuptools import setup

install_requires=[
    'BeautifulSoup',
    'configobj>=4.7.0',
    'dnspython',
    'feedparser',
    'html2text',
    'html5lib',
    'jinja2',
    'pyopenssl',
    'PyStemmer',
    'python-dateutil',
    'SOAPpy',
    'SQLAlchemy>=0.6',
    'Twisted',
    'wokkel>=0.6.3',
]

if version_info[0] == 2 and version_info[1] < 6:
    install_requires.append('simplejson')
if version_info[0] == 2 and version_info[1] < 5:
    install_requires.append('cElementTree')
    install_requires.append('pysqlite')

if argv[1:] == ['install', '--no-dependencies']:
    argv.pop()
    install_requires = None

setup(
    name='Ibid',
    version='0.1.1',
    description='Multi-protocol general purpose chat bot',
    url='http://ibid.omnia.za.net/',
    keywords='chat bot irc jabber twisted messaging',
    author='Ibid Developers',
    author_email='ibid@omnia.za.net',
    license='MIT',
    py_modules=['ibid'],
    install_requires=install_requires,
    extras_require = {
        'imdb': ['imdbpy'],
        'memory': ['objgraph'],
        'asciiart': ['python-aalib'],
    },
    dependency_links=[
        'http://ibid.omnia.za.net/eggs/',
        'http://wokkel.ik.nu/downloads',
    ],
    packages=['ibid', 'tracibid', 'twisted'],
    entry_points={
        'trac.plugins': ['tracibid = tracibid.notifier'],
    },
    scripts=[
        'scripts/ibid',
        'scripts/ibid-db',
        'scripts/ibid-factpack',
        'scripts/ibid-knab-import',
        'scripts/ibid-memgraph',
        'scripts/ibid-objgraph',
        'scripts/ibid-pb-client',
        'scripts/ibid-plugin',
        'scripts/ibid-setup',
    ],

    include_package_data=True,
    zip_safe=False,
)

# vi: set et sta sw=4 ts=4: