代码拉取完成,页面将自动刷新
from setuptools import setup, find_packages
import os.path
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = fh.read()
VERSION = '0.2.2'
DESCRIPTION = 'Some simple utils for performance testing.'
setup(
name='tq_performance_utils',
version=VERSION,
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
url='https://gitee.com/torchW/tq_performance_utils.git',
author='TripleQuiz',
author_email='triple_quiz@163.com',
license='MIT',
keywords=['python', 'util', 'performance', 'profile'],
python_requires='>=3.7, <3.12',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Intended Audience :: Developers',
'Operating System :: Microsoft :: Windows',
'Natural Language :: Chinese (Simplified)',
],
packages=find_packages(include=['tq_performance_utils', 'tq_performance_utils.*']),
install_requires=[
'pyinstrument>=4.6.2',
],
include_package_data=True,
exclude_package_data={},
zip_safe=False,
)
"""
打包发布步骤:
1. 测试代码
2. commit & create tag
3. 打包源分发包和轮子,命令:python setup.py sdist bdist_wheel
4. PyPI发布,命令:twine upload -r tq_performance_utils dist/*
"""
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。