# pyporter
#### Description
A rpm packager bot for python modules from pypi.org
#### Preparation
Install below software before using this tool
1. gcc
2. gdb
3. libstdc++-devel
4. python3-cffi
5. rpmbuild
6. python3-hatchling
7. python3-hatch-vcs
8. openEuler-rpm-config (>= Release 30-39)
#### Installation
Install from source
```
pip install .
```
Install with develop mode
```
pip install -e .
```
#### Instructions
pyporter is a tool to create spec file and create rpm for python modules
For more details, please use `pyporter -h`
Create spec file, and output spec file named `python-<package>.spec`
```
pyporter <package> -s -o python-<package>.spec
```
#### Contribution
You could install pre commit hook before commit your code, it will check your code format and style.
```python
pip install pre-commit
```
Refer https://pre-commit.com/
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### How to create a rpm file
1. Create spec file, `pyporter -s filename`
2. Get required python modules, `pyporter -R filename`
3. Build and Install rpm package, `pyporter -B filename`
4. For more detail, `pyporter -h`
没有合适的资源?快使用搜索试试~ 我知道了~
openEuler/pyporter
共26个文件
py:11个
json:8个
md:1个
需积分: 1 0 下载量 126 浏览量
2024-09-02
10:04:02
上传
评论
收藏 29KB ZIP 举报
温馨提示
安装包openEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/pyporteropenEuler/p
资源推荐
资源详情
资源评论
收起资源包目录
7.zip (26个子文件)
pyporter-master
Makefile 150B
LICENSE 9KB
tests
__init__.py 0B
TestPyprojectToml.json 9KB
TestNoHomepageUseHomePage.json 2KB
test_get_ver.py 756B
test_get_archive_name.py 665B
test_get_license.py 3KB
TestLicense.json 2KB
test_transform_module_name.py 1007B
test_get_home.py 3KB
test_get_source_url.py 1KB
TestNoHomepageUsePackageUrl.json 2KB
TestOSIApproved.json 2KB
TestNoHomepageUseProjectUrl.json 2KB
TestNoOSIApproved.json 2KB
test_get_pyproject_toml.py 2KB
TestNoHomepageNone.json 2KB
.pre-commit-config.yaml 590B
pyproject.toml 626B
.gitignore 126B
README.md 1KB
pyporter
utils.py 1KB
__init__.py 332B
pyporter.py 22KB
.styple.yapf 93B
共 26 条
- 1
资源评论
脚步的影子
- 粉丝: 2136
- 资源: 186
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功