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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1ed0e8a6959feb58704b250a2dbfcd6b50354107213ad4631be62b0b60a9fd5 |
|
MD5 | 63bb11bee732910f25f4ca090027d604 |
|
BLAKE2b-256 | d9a5d8a9abe4924f01cd18ab6ae461596574617c84f4a036d26c1ebe2083b18a |
Close
Hashes for pipenv_poetry_migrate-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7727e32acd543862c1180dfeaa93930afd9144a5891b710d9515cf51ab64e428 |
|
MD5 | 0726331d5025ec5d2d602a3c70dfa79f |
|
BLAKE2b-256 | d4fca9b0fccaa19079fca5e978922d31a3d881297a3d5350e504afdde1bd6c88 |