Use a temporary directory as egg cache

We have use with broken permission on their
system. We try to workaround the issue.

Fix #182
This commit is contained in:
Julien Duponchelle committed 2015-05-13 14:29:03 +02:00
1 parent 3704911c2d
commit 157bc18ebd
2 files changed
+51

No files matched your search

+10
View File
@@ -16,6 +16,16 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# WARNING
# Due to buggy user machines we choose to put this as the first loading modules
# otherwise the egg cache is initialized in his standard location and
# if is not writetable the application crash. It's the user fault
# because one day the user as used sudo to run an egg and break his
# filesystem permissions, but it's a common mistake.
import gns3server.utils.get_resource
import os
import datetime
import sys