closed #4419,  Backup the environment  file when adding environment variable in setup.py.