代码拉取完成,页面将自动刷新
# coding = utf-8
# @Time : 2024-10-18 17:11:02
# @Author : zhaosheng@nuaa.edu.cn
# @Describe: setup.
import os
from setuptools import setup, find_packages
base_dir = os.path.dirname(os.path.abspath(__file__))
def get_long_description():
readme_path = os.path.join(base_dir, "README.md")
with open(readme_path, encoding="utf-8") as readme_file:
return readme_file.read()
def get_project_version():
version_path = os.path.join(base_dir, "dsqlenv", "version.py")
version = {}
with open(version_path, encoding="utf-8") as fp:
exec(fp.read(), version)
return version["__version__"]
def get_requirements(path):
with open(path, encoding="utf-8") as requirements:
return [requirement.strip() for requirement in requirements]
install_requires = get_requirements(os.path.join(base_dir, "requirements.txt"))
conversion_requires = get_requirements(
os.path.join(base_dir, "requirements.conversion.txt")
)
setup(
name="dsqlenv",
packages=find_packages(),
install_requires=[
# 依赖包,例如 click, requests 等
# "dsqlenv",
],
author="Zhao Sheng",
author_email="zhaosheng@nuaa.edu.cn",
url='https://gitee.com/iint/dsql',
description="A tool for database operations with encryption and decryption, configurable table and column names, and additional CLI features.",
long_description=get_long_description(),
long_description_content_type="text/markdown",
version=get_project_version(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
entry_points={
'console_scripts': [
'dsqlenv = dsqlenv.cli:main',
]
},
python_requires='>=3.10',
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。