terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.85k stars 250 forks source link

install-dir option not being recognized #246

Closed thyag2904 closed 5 years ago

thyag2904 commented 5 years ago

Command I ran: python setup.py install --install-dir=/local/mnt/workspace/sw/lizard/lizard-tool

Error: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help

error: option --install-dir not recognized

terryyin commented 5 years ago

It seems "--install-dir" is an option of easy_install.

And according to https://stackoverflow.com/questions/24745852/how-to-use-setuptools-to-install-in-a-custom-directory

The equivalent is:

python setup.py install --install-lib /src/lib/