[setup] temporary work, unrolled setup.py (except the extend_user_env funcs) to make rewriting the code simpler