-1

I have own pip package. I made the package with poetry.

This package named my_pack. If I install this package, then it will install to location:

..\Programs\Python\Python37\Lib\site-packages\my_pack

But, I need for files of my_pack will install to directory of other package:

..\Programs\Python\Python37\Lib\site-packages\other_pack\internal_directory\

How change target location for package? Maybe, I need to edit pyproject.toml of my_pack?

Alexex93
  • 21
  • 1
  • 6

1 Answers1

2

If you're installing it in your machine with pip, you probably need to change the default path in pip (usually you'll find it in ~/.pip/pip.conf or ~/.pip/pip.ini

add (or edit) :

[global]
target = 'yourPath'

you can check the pip doc for more info.

mrCopiCat
  • 899
  • 3
  • 15