跳转到主要内容

从pyproject.toml(poetry)制作setup.py(setutools)

项目描述

poetry-setup

poetry-setup logo

Build Status Beta Apache-2.0

使您的poetry项目与旧版本兼容。

该工具会根据pyproject.toml生成一些文件

files scheme

安装

我推荐使用pipsi安装所有此类控制台脚本。

通过pipsi安装

pipsi install poetry-setup

通过pip安装

pip install poetry-setup

通过poetry安装

poetry install poetry-setup

用法

poetry-setup [path/to/project/]

为当前目录中的项目生成

poetry-setup

example目录中的项目生成

poetry-setup example

pipenv怎么办?

Pipenv可以从requirements.txt生成Pipfile

运行测试

pipenv install
pipenv shell
python -m pytest tests.py

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

poetry-setup-0.3.6.tar.gz (4.9 kB 查看哈希值)

上传时间

由...

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面