加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pathlib.spec 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
lkx690 提交于 2020-03-07 10:21 . package init
Name: python-pathlib
Version: 1.0.1
Release: 10
Summary: Object-oriented filesystem paths
License: MIT
URL: https://pathlib.readthedocs.org/
Source0: https://pypi.python.org/packages/source/p/pathlib/pathlib-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2-sphinx
%description
Manipulating filesystem paths as string objects can quichly become cumbersome;
multiple calls to os.path.join() or os.path.dirname(), etc. This module offers
a set of classes featuring all the common operations on paths in an easy,
object-oriented way.
%package -n python2-pathlib
Summary: %summary
%{?python_provide:%python_provide python2-pathlib}
%description -n python2-pathlib
Manipulating filesystem paths as string objects can quichly become cumbersome;
multiple calls to os.path.join() or os.path.dirname(), etc. This module offers
a set of classes featuring all the common operations on paths in an easy,
object-oriented way.
%prep
%autosetup -n pathlib-%{version} -p1
sphinx-build docs html
%build
%{__python2} setup.py build
%install
%{__python2} setup.py install --skip-build --root %{buildroot}
%files -n python2-pathlib
%doc html README.txt LICENSE.txt
%{python2_sitelib}/*
%exclude %{_topdir}/BUILD/html/.{doctrees,buildinfo}
%changelog
* Thu Mar 5 2020 likexin <likexin4@huawei.com> - 1.0.1-10
- package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化