PyQtPicUpload/setup.py

47 lines
1.4 KiB
Python
Raw Permalink Normal View History

2022-03-25 20:24:47 +08:00
"""
This is a setup.py script
"""
from setuptools import setup, find_packages
2022-03-27 22:42:41 +08:00
from glob import glob
2022-03-25 20:24:47 +08:00
VERSION = "0.1"
2022-03-27 23:05:22 +08:00
INSTALL = ["oss2", "notify2", "dbus-python", "PyQt5"]
2022-03-25 20:24:47 +08:00
setup(
name="PyQtPicUpload",
version=VERSION,
author="liyp",
author_email="my@liyp.cc",
description="a OSS Image Upload Tool",
license="GPL3",
2022-03-27 22:42:41 +08:00
2022-03-25 20:24:47 +08:00
url="https://git.liyp.cc/xmengnet/PyQtPicUpload",
classifiers=[
2022-03-27 22:42:41 +08:00
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Operating System :: POSIX',
],
2022-03-25 20:24:47 +08:00
platforms=["POSIX"],
2022-03-27 22:42:41 +08:00
keywords=["IMAGE", "OSS"],
2022-03-25 20:24:47 +08:00
install_requires=INSTALL,
2022-03-27 22:42:41 +08:00
packages=find_packages(),
# 安装过程中需要安装的静态文件如配置文件、service文件、图片等
data_files=[
('resource', ['resource/current.qss']),
('image', ['images/up.png', 'images/upload.png', 'images/setting_icon.png', 'images/icon.svg'])
],
include_package_data=True,
# 用来支持自动生成脚本,安装后会自动生成 /usr/bin/foo 的可执行文件
# 该文件入口指向 foo/main.py 的main 函数
entry_points={
'console_scripts': [
'picupload = main.main:main'
]
},
2022-03-25 20:24:47 +08:00
python_requires=">=3.6",
2022-03-27 22:42:41 +08:00
)