forked from gawel/irc3
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
75 lines (67 loc) · 1.84 KB
/
setup.py
File metadata and controls
75 lines (67 loc) · 1.84 KB
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
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
from setuptools import find_packages
version = '1.0.1.dev0'
install_requires = ['venusian>=1.0', 'docopt']
test_requires = [
'pytest-asyncio==0.5.0',
'feedparser',
'requests',
'pysocks',
'twitter',
'aiocron',
'redis',
'pytest'
]
install_requires_py33 = [
'asyncio',
]
py_ver = sys.version_info[:2]
if py_ver < (3, 4):
install_requires.extend(install_requires_py33)
def read(*rnames):
filename = os.path.join(os.path.dirname(__file__), *rnames)
with codecs.open(filename, encoding='utf8') as fd:
return fd.read()
setup(
name='irc3',
version=version,
description=(
"plugable irc client library based on asyncio "
"with DCC and SASL support"
),
long_description=read('README.rst'),
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Development Status :: 5 - Production/Stable',
],
keywords='irc dcc asyncio',
author='Gael Pasgrimaud',
author_email='gael@gawel.org',
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,
tests_require=test_requires,
setup_requires=["pytest-runner"],
extras_require={
':python_version=="3.3"': install_requires_py33,
'test': test_requires,
},
entry_points='''
[console_scripts]
irc3 = irc3:run
irc3d = irc3d:run
''',
)