23 Star 78 Fork 23

kinegratii/borax

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
# coding=utf8
import pathlib
import re
from setuptools import setup, find_packages
here = pathlib.Path(__file__).parent
txt = (here / 'borax' / '__init__.py').read_text()
version = re.findall(r"^__version__ = '([^']+)'\r?$", txt, re.M)[0]
lib_classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
'Operating System :: OS Independent'
]
with open('README.md', encoding='utf8') as f:
long_description = f.read()
setup(
name='borax',
version=version,
python_requires='>=3.9',
packages=find_packages(exclude=['tests']),
include_package_data=True,
license='MIT',
author='kinegratii',
author_email='zhenwei.yan@hotmail.com',
classifiers=lib_classifiers,
description='A tool collections.(Chinese-Lunar-Calendars/Python-Patterns)',
long_description=long_description,
long_description_content_type='text/markdown',
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/kinegratii/borax.git
git@gitee.com:kinegratii/borax.git
kinegratii
borax
borax
master

搜索帮助