simple migration script, migrate pipenv to poetry
Project description
pipenv-poetry-migrate
This is simple migration script, migrate pipenv to poetry.
Usage
$ pipenv-poetry-migrate -f Pipfile -t pyproject.toml
Example
This is an example of a Pipfile to be migrated.
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[packages]
requests = "*"
[dev-packages]
pytest = "^5.2"
Migrate the above file to the following pyproject.toml.
[tool.poetry]
name = "migration-sample"
version = "0.1.0"
description = ""
authors = ["Yoshiyuki HINO <yhinoz@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
By executing this script, pyproject.toml is rewritten as follows.
[tool.poetry]
name = "migration-sample"
version = "0.1.0"
description = ""
authors = ["Yoshiyuki HINO <yhinoz@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.7"
requests = "*"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pipenv-poetry-migrate-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797ceeed08ac8a768e1efc244d3981396fdb52aed609f8acc919dc13cb1db6a3 |
|
MD5 | 0b3e900afd5a68e277eefaf2d9f8fb8d |
|
BLAKE2b-256 | 5cdc6920f5784c60e1c081df5364701b8ddbc7b118fa52d5ba9520001a68333d |
Close
Hashes for pipenv_poetry_migrate-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1211191f8617513f1b2c0d7421bca3f6d251121f332a5eecaf1635b3dcd32011 |
|
MD5 | bb28e02f4da763c6794683f1c3bb4780 |
|
BLAKE2b-256 | c9d653e1bc162390a82f8c08f7ef092247bb43c485fc9be62ff047163fad404d |