-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (39 loc) · 1.03 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
import ast
import re
from setuptools import find_packages, setup
def extract_version(content):
m = re.search(r'__version__\s+=\s+(.*)', content)
s = m.group(1)
return str(ast.literal_eval(s))
with open('yhy/__init__.py', 'rb') as f:
content = f.read().decode('utf-8')
version = extract_version(content)
setup(
name='yhy',
version=version,
description='Personalized CLI',
keywords='automation cli anki',
url='https://github.com/yeonghoey/yhy',
author='Yeongho Kim',
author_email='yeonghoey@gmail.com',
packages=find_packages(),
entry_points={
'console_scripts': [
'yhy=yhy.__main__:cli',
]
},
install_requires=[
'Click',
'google-cloud-texttospeech',
'google-cloud-vision',
'lxml',
'pillow',
'prompt_toolkit',
'pyperclip',
'requests'
],
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.6',
],
)