How to specify setuptools output directory?

Using setuptools for Python, is it possible to specify the output directory when installing a python project?

In my project directory:

python setup.py install

I would like to install the project in the directory /usr/share/myproject/ , for example.

I do not want to specify the output directory on my command line. I would like to specify this output directory in setup.py .

+6
source share

Source: https://habr.com/ru/post/918460/


All Articles