2 Star 3 Fork 1

user_1413365/gitchecker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 2.55 KB
一键复制 编辑 原始数据 按行查看 历史
user_1413365 提交于 2024-07-27 11:00 +08:00 . python打包 setup
#!/usr/bin/env python
# Copyright 2008 German Aerospace Center (DLR)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Documentation for distutils: http://docs.python.org/dist/dist.html
# 从Python 3.10开始,distutils 模块已被弃用,并在Python 3.12中被移除。因此,如果您正在使用较新的Python版本,建议使用 setuptools 来替代 distutils。
#from distutils.core import setup
from setuptools import setup, find_packages
# https://www.cnblogs.com/goldsunshine/p/8872623.html 【python打包工具distutils】
# 一行命令: python setup.py sdist
setup(name='gitChecker',
version='0.1',
description='gitChecker is a framework for Git hook scripts.',
long_description='gitChecker is a framework for Git pre-commit hooks in order to implement checks of the to be commited files before they are commited. For example, you can check for the code style or unit tests. The output of the checks can be send by mail or be written into a file or simply print to the console. you can also use the framework to implement post-commit hooks in order to sync status to other system. For example, you can write commit info to zentao or jira.',
author='fulizhe',
author_email='lqzkcx3@gmail.com',
maintainer='fulizhe',
maintainer_email='lqzkcx3@gmail.com',
url='https://gitee.com/lqzkcx3/gitchecker',
packages = ['checks', 'handlers', 'modules'],
scripts=['Main.py'],
data_files=[('config', ['gitcheckerconfig.ini'])],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Bug Tracking',
'Topic :: Software Development :: Version Control',
],
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/lqzkcx3/gitchecker.git
git@gitee.com:lqzkcx3/gitchecker.git
lqzkcx3
gitchecker
gitchecker
master

搜索帮助