poetry-plugin-export icon indicating copy to clipboard operation
poetry-plugin-export copied to clipboard

poetry export of local 'path' exported with full path

Open gsemet opened this issue 2 years ago • 0 comments

  • [x] I am on the latest Poetry version.

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.

  • [x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • Poetry version: 1.1.8

Issue

For the following dependency

sphinx-argparse = {path = "./deps/sphinx-argparse"}

The command poetry export --format requirements.txt produces a line with the full path in it, which prevent and sharing of this file easily:

sphinx-argparse @ file:///Users/username/path/to/my/project/deps/sphinx-argparse

The expected output would be something like

-e deps/sphinx-argparse

gsemet avatar Sep 01 '21 11:09 gsemet