-
Notifications
You must be signed in to change notification settings - Fork 192
/
setup.py
77 lines (66 loc) · 2.27 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
65
66
67
68
69
70
71
72
73
74
75
76
77
# -*- coding: utf-8 -*-
"""
Line -- May the LINE be with you...
=========================================
If you're reading this code, you should know what LINE is.
Just play. Have fun. Enjoy the LINE!
```````````````````````````
::
>>> from line import Client
Links
`````
* `GitHub repository <http://github.com/carpedm20/line>`_
* `development version
<http://github.com/carpedm20/line/zipball/master>`_
"""
from __future__ import with_statement
import re
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
# detect the current version
with open('line/__init__.py') as f:
version = re.search(r'__version__\s*=\s*\'(.+?)\'', f.read()).group(1)
assert version
import codecs
with codecs.open('README.rst','r',encoding='utf8') as f:
setup(
name='line',
packages=['line'],
version=version,
description='May the LINE be with you...',
long_description=f.read(),
license='BSD License',
author='Taehoon Kim',
author_email='[email protected]',
url='http://carpedm20.github.io/line',
keywords=['line'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Communications :: Chat',
],
install_requires=[
'requests',
'curve',
'rsa'
],
)