-
Notifications
You must be signed in to change notification settings - Fork 144
/
setup.py
66 lines (59 loc) · 2.1 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
# -*- coding: utf-8 -*-
"""
LINE Python -- LINE Messaging's private API
=========================================
>>> from linepy import *
Links
`````
* `GitHub repository <https://github.com/fadhiilrachman/line-py>`_
"""
from __future__ import with_statement
import re, codecs
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
with open('linepy/__init__.py') as f:
version = re.search(r'__version__\s*=\s*\'(.+?)\'', f.read()).group(1)
assert version
with open('README.rst') as f:
setup(
name='linepy',
packages=['linepy'],
version=version,
license='BSD 3 Clause License',
author='Fadhiil Rachman',
author_email='[email protected]',
url='https://github.com/fadhiilrachman/line-py',
description=' LINE Messaging\'s private API',
long_description=f.read(),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'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=[
'akad',
'requests',
'rsa',
'PyQRCode'
],
)