-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (39 loc) · 1.22 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
# -*- coding:utf-8 -*-
try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
from codecs import open
from os import path
# LONG_DESCRIPTION为项目详细介绍,这里取README.md作为介绍
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
# 具体的设置
setup(
name="scflog",
version='0.0.5',
description="一款可以实时查看腾讯云SCF Python Runtime日志的工具",
long_description=LONG_DESCRIPTION,
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
],
# 指定控制台命令
entry_points={
'console_scripts': [
'scflog = scflog.cmds:ScfPythonLogs'
],
},
keywords="scf, python, logs, scflogs",
author="anycodes",
author_email="[email protected]",
url="https://github.com/gosls/PythonLogsCli",
license="Apache License 2.0",
packages=["scflog"],
install_requires=["plumbum", "ws4py"], # 依赖的第三方包
include_package_data=True,
zip_safe=True,
)