forked from felixonmars/fcitx5-pinyin-zhwiki
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (34 loc) · 1.45 KB
/
setup.py
File metadata and controls
39 lines (34 loc) · 1.45 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
#!/usr/bin/env python
# coding: utf-8
# Modified based on https://github.com/ytdl-org/youtube-dl/blob/master/setup.py
from setuptools import setup, find_packages
# pylint: disable=exec-used
exec(compile(open('mw2fcitx/version.py').read(), 'mw2fcitx/version.py', 'exec'))
DESCRIPTION = 'Build fcitx5 libraries from MediaWiki sites'
setup(name='mw2fcitx',
# pylint: disable=undefined-variable
version=__version__,
description=DESCRIPTION,
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type='text/markdown',
url='https://github.com/outloudvi/mw2fcitx',
author='Outvi V',
author_email='oss@outv.im',
license='Unlicense',
include_package_data=True,
packages=find_packages(),
install_requires=[
"OpenCC>=1.1.1.post1",
"pypinyin>=0.38.1",
],
entry_points={'console_scripts': ['mw2fcitx = mw2fcitx.main:main', ]},
classifiers=[
'Topic :: Software Development :: Libraries :: Python Modules',
'Development Status :: 4 - Beta', 'Environment :: Console',
'License :: Public Domain', 'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython'
])