Closed BrightXiaoHan closed 2 years ago
This is setup.py file for my library
setup.py
from setuptools import setup setup( name="lib_translate", version="1.0", author="hanbing", author_email="beatmight@gmail.com", description="Translate SDK for Lan-MT", # 项目主页 url="http://fanyi.dtranx.com", # 你要安装的包,通过 setuptools.find_packages 找到当前目录下有哪些包 packages=["libtranslate", "libtranslate.translate", "libtranslate.third_party", "libtranslate.bin"], install_requires=[item.strip() for item in open("requirements.txt", "r").readlines()], entry_points={ "console_scripts": [ "libtrans_interact=libtranslate.bin.interact:main", "libtrans_genbt=libtranslate.bin.genbt:main", "libtrans_translate=libtranslate.bin.translate:main", "libtrans_relase=lib_translate.bin.release:main" ], } )
libtrans_interact, libtrans_genbtand ... is the cli tools installed with my library.
libtrans_interact
libtrans_genbt
How can I debug the cli command use pudb like this
pudb
pudb3 libtrans_genbt
This is
setup.py
file for my librarylibtrans_interact
,libtrans_genbt
and ... is the cli tools installed with my library.How can I debug the cli command use
pudb
like this