Skip to content

Commit

Permalink
getting rid of "reload()" in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed Mar 20, 2017
1 parent 7326bed commit 5d5bfe2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org>
# Copyright (C) <2010-2017> Gabriel Falcão <gabriel@nacaolivre.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -23,15 +23,6 @@
import sys
import codecs
from setuptools import setup, find_packages
try:
# python 3
from importlib import reload
except ImportError:
pass
# python 2

reload(sys)
sys.setdefaultencoding('utf-8')

# These python versions are explicitly not supported
# by sure. This is mostly because of the incompatiblities
Expand Down

0 comments on commit 5d5bfe2

Please sign in to comment.