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"
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipenv-poetry-migrate-0.1.1.tar.gz.
File metadata
- Download URL: pipenv-poetry-migrate-0.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1ed0e8a6959feb58704b250a2dbfcd6b50354107213ad4631be62b0b60a9fd5
|
|
| MD5 |
63bb11bee732910f25f4ca090027d604
|
|
| BLAKE2b-256 |
d9a5d8a9abe4924f01cd18ab6ae461596574617c84f4a036d26c1ebe2083b18a
|
File details
Details for the file pipenv_poetry_migrate-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pipenv_poetry_migrate-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7727e32acd543862c1180dfeaa93930afd9144a5891b710d9515cf51ab64e428
|
|
| MD5 |
0726331d5025ec5d2d602a3c70dfa79f
|
|
| BLAKE2b-256 |
d4fca9b0fccaa19079fca5e978922d31a3d881297a3d5350e504afdde1bd6c88
|