1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-22 19:19:37 +01:00

remove warning about python 2.5 support from bottle

This commit is contained in:
Ralf Schmitt 2012-12-27 01:29:14 +01:00
parent 236023ca4c
commit 7a27f8c03b

@ -1,8 +1,9 @@
#! /usr/bin/env python #! /usr/bin/env python
"""minimal PyPI like server for use with pip/easy_install""" """minimal PyPI like server for use with pip/easy_install"""
import os, sys, getopt, re, mimetypes import os, sys, getopt, re, mimetypes, warnings
warnings.filterwarnings("ignore", "Python 2.5 support may be dropped in future versions of Bottle")
from pypiserver import bottle, __version__, app from pypiserver import bottle, __version__, app
sys.modules["bottle"] = bottle sys.modules["bottle"] = bottle
from bottle import run, server_names from bottle import run, server_names