Drop Python 2 installation support.

This commit is contained in:
Ben Sturmfels
2021-03-03 21:40:10 +11:00
parent c5a4eb8da8
commit 83429a8658
8 changed files with 9 additions and 228 deletions

View File

@@ -14,16 +14,4 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import warnings
import six
from mediagoblin._version import __version__
if six.PY2:
warnings.warn(
"MediaGoblin's Python 2 support will be removed in the next"
" release. Please consider switching to Python 3.",
DeprecationWarning,
)