1 Star 0 Fork 10

慎独forever/leapp

forked from anolis/leapp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 890 Bytes
一键复制 编辑 原始数据 按行查看 历史
import sys
from subprocess import check_call
from setuptools import find_packages, setup
from distutils.util import convert_path
main_ns = {}
ver_path = convert_path('leapp/__init__.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
check_call([sys.executable, 'res/schema/embed.py'])
with open('res/schema/schemas.py', 'r') as orig:
with open('leapp/utils/schemas.py', 'w') as target:
target.write(orig.read())
EXCLUSION = []
if sys.version_info[0] > 2:
# Python 2 only
EXCLUSION.append('leapp.compatpy2only')
setup(
name='leapp',
version=main_ns['VERSION'],
packages=find_packages(exclude=EXCLUSION),
install_requires=['six', 'requests'],
entry_points='''
[console_scripts]
snactor=leapp.snactor:main
leapp=leapp.cli:main
[pytest11]
snactor_plugin=leapp.snactor.fixture
'''
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/shenduforever/leapp.git
git@gitee.com:shenduforever/leapp.git
shenduforever
leapp
leapp
master_anolis

搜索帮助

0d507c66 1850385 C8b1a773 1850385