piprepo创建符合pep-503的包存储库。

piprepo的Python项目详细描述


https://travis-ci.org/colinhoglund/piprepo.svg?branch=masterhttps://coveralls.io/repos/github/colinhoglund/piprepo/badge.svg?branch=masterLatest Version

管道回购

piprepo是一个用于构建和同步PEP-503兼容包存储库的工具。

它目前支持与本地目录以及aws s3的同步。

安装

pip install piprepo

使用量

生成:

usage: piprepo build [-h] directory

positional arguments:
  directory   Local directory to build

optional arguments:
  -h, --help  show this help message and exit

同步:

usage: piprepo sync [-h] source destination

positional arguments:
  source       Repository source
  destination  Repository destination

optional arguments:
  -h, --help   show this help message and exit

建立本地一揽子回购协议

piprepo build命令构建一个简单的包索引 来自指定目录中包含的包。

下载一些源tarballs或wheels:

pip download -d /tmp/localrepo pyyaml
pip wheel -w /tmp/localrepo pip

从下载的包构建一个简单的包存储库:

piprepo build /tmp/localrepo

生成并同步到目标回购

piprepo sync命令从 包含在本地源目录中的包,并同步 包和索引文件到指定的目标。

下载一些源tarballs或wheels:

pip download -d /tmp/syncrepo pyyaml
pip wheel -w /tmp/syncrepo pip

同步到本地目录:

piprepo sync /tmp/syncrepo /tmp/newrepo

同步到S3存储桶:

piprepo sync /tmp/syncrepo s3://my-bucket/piprepo

发展

安装开发要求:

pip install -e .[dev]

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java在ArrayList中比较数字   java在Kotlin中使异步调用同步   让“Scala编程”junit示例在IntelliJ中工作的java问题   java Servlet侦听器未在ContextListener中设置属性   将Microsoft SQL Server数据库连接到我的Java项目   加载资源时出现java“需要注册工厂”异常   java如何使用POI检查excel中的重复记录?   java如何更改机器生成的代码   java如何确保重写的方法是同步的   用Spring编写Hibernate时的java XML奥秘   java管理mysql数据库中存储的用户权限   java如何运行。来自Javascript的jar方法   java我想在Web应用程序中进行身份验证&对桌面应用程序使用相同的凭据。我该怎么做?