python中texttable库显示实时数据_python-texttable.spec

这篇内容介绍了Python模块texttable,版本1.4.0,用于生成简单的ASCII表格。支持Python2和Python3,依赖于相应版本的python-devel、setuptools和pytest。提供了安装、构建、检查和文件包含的详细步骤。
摘要由CSDN通过智能技术生成

Name: python-texttable

Version: 1.4.0

Release: 2

Summary: Python module for creating simple ASCII tables

License: LGPLv3

URL: https://github.com/foutaise/texttable

Source0: https://github.com/foutaise/texttable/archive/v%{version}.tar.gz

BuildArch: noarch

%description

Python module for creating simple ASCII tables

%package -n python2-texttable

%{?python_provide:%python_provide python2-texttable}

Summary: Python module for creating simple ASCII tables

BuildRequires: python2-devel, python2-setuptools, python2-pytest

%description -n python2-texttable

Python module for creating simple ASCII tables

%package -n python3-texttable

%{?python_provide:%python_provide python3-texttable}

Summary: Python module for creating simple ASCII tables

BuildRequires: python3-devel, python3-setuptools, python3-pytest

%description -n python3-texttable

Python module for creating simple ASCII tables

%prep

%autosetup -n texttable-%{version}

%build

%py2_build

%py3_build

%install

%py2_install

%py3_install

%check

py.test-%{python2_version} --verbose tests.py

py.test-%{python3_version} --verbose tests.py

%files -n python2-texttable

%doc PKG-INFO README.md

%license LICENSE

%{python2_sitelib}/*

%files -n python3-texttable

%doc PKG-INFO README.md

%license LICENSE

%{python3_sitelib}/*

%changelog

* Thu Feb 13 2020 Ruijun Ge - 1.4.0-2

- init package

一键复制

编辑

Web IDE

原始数据

按行查看

历史

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值