Problems with setup.py on POSIX systems
Created originally on Bitbucket by Anonymous
Commit https://bitbucket.org/tortoisehg/thg/commits/e8655ee7414d introduced new way for generating config file. But on Nix package manager we've found a failing case
Running setup.py like this
#!bash
python setup.py build install --install-data=<SOMEPATH>
and running setup.py like this
#!bash
python setup.py build
python setup.py install --install-data=<SOMEPATH>
are the ways to generate different config files. First one respects the --install-data option, the second - doesn't, but this is counterintuitive
The proposal is to move build_config to install command
[Original bug report] https://github.com/NixOS/nixpkgs/issues/13507