-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (53 loc) · 1.62 KB
/
setup.py
File metadata and controls
55 lines (53 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
import setuptools
import os
meta = {}
with open(
os.path.join(
os.path.abspath(os.path.dirname(__file__)), "rongo", "__init__.py"
),
"r",
) as f:
exec(f.read(), meta)
with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(
name=meta["__name__"],
version=meta["__version__"],
author=meta["__author__"],
author_email=meta["__email__"],
description="This is not a python web framework, it's a complement to such mini frameworks like fastapi sanic. "
"Mainly refer to Thinkphp Laravel Django Masonite.",
long_description=long_description,
long_description_content_type="text/markdown",
url=meta["__url__"],
# 列出这个项目的包
packages=[
"rongo",
"rongo.cache",
"rongo.cache.drivers",
"rongo.configuration.providers",
"rongo.configuration",
"rongo.container",
"rongo.contract",
"rongo.environment",
"rongo.exceptions",
"rongo.facades",
"rongo.foundation",
"rongo.loader",
"rongo.providers",
"rongo.template",
"rongo.utils",
],
# 需要额外的文件(全部罗列到MANIFEST.in文件里)
include_package_data=True,
# 依赖的包,将自动安装
install_requires=[],
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)