-
Notifications
You must be signed in to change notification settings - Fork 51
/
setup.py
32 lines (27 loc) · 953 Bytes
/
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
# encoding=utf-8
import setuptools
with open("README.md", "r", encoding="utf-8") as fp:
long_description = fp.read()
data_ext_list = ["*.txt", "*.json", "*.properties", "*.js", "*.html", "*.css"]
setuptools.setup(
name = "xnote-web",
version = "0.1.0",
author = "mark",
author_email = "[email protected]",
description = "xnote-web框架",
long_description = long_description,
long_description_content_type = "text/markdown",
# packages = ["config", "core", "docs", "handlers", "lib", "static", "tools", "xnote", "xutils"],
packages=setuptools.find_packages(),
include_package_data=True, # 包含资源文件
# package_dir={"": "."},
# package_data={
# "": data_ext_list,
# "handlers": data_ext_list,
# },
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
)