forked from gawel/irc3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (57 loc) · 1.58 KB
/
setup.py
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
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
from setuptools import find_packages
version = '0.4.8.dev0'
install_requires = ['venusian>=1.0a8', 'docopt']
test_requires = [
'nose', 'coverage',
'feedparser', 'requests',
'twitter', 'panoramisk',
'python-dateutil',
'transmissionrpc',
'croniter',
]
if sys.version_info[:2] < (3, 0):
install_requires.extend([
'trollius',
'futures',
])
test_requires.extend(['mock'])
elif sys.version_info[:2] < (3, 3):
install_requires.append('trollius')
test_requires.append('mock')
elif sys.version_info[:2] < (3, 4):
install_requires.append('asyncio')
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(
name='irc3',
version=version,
description="plugable irc client based on asyncio",
long_description=read('README.rst'),
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'License :: OSI Approved :: MIT License',
],
keywords='irc asyncio',
author='Gael Pasgrimaud',
author_email='[email protected]',
url='https://github.com/gawel/irc3/',
license='MIT',
packages=find_packages(exclude=['docs', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'test': test_requires,
},
entry_points='''
[console_scripts]
irc3 = irc3:run
''',
)