-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (54 loc) · 1.62 KB
/
Copy pathsetup.py
File metadata and controls
62 lines (54 loc) · 1.62 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
MagicLens包安装配置文件。
"""
from setuptools import setup, find_packages
import os
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8') as f:
return f.read()
# 定义版本信息
about = {
'__version__': '0.3.0',
'__author__': 'MagicLens Team',
'__email__': 'cc@dtyq.com',
}
setup(
name="magiclens",
version=about['__version__'],
author=about['__author__'],
author_email=about['__email__'],
description="一个灵活的HTML到Markdown转换工具",
long_description=read('README.md'),
long_description_content_type="text/markdown",
url="https://github.com/magiclens/magiclens",
package_dir={"": "src"},
packages=find_packages(where="src"),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: Markdown",
],
python_requires=">=3.8",
install_requires=[
"beautifulsoup4>=4.9.0",
"requests>=2.25.0",
"lxml>=4.6.0",
"pyyaml>=6.0.0",
],
entry_points={
'console_scripts': [
'magiclens=magiclens.cli:main',
],
},
include_package_data=True,
zip_safe=False,
)