It's 2020

This commit is contained in:
Marcel Hellkamp 2020-10-03 16:32:01 +02:00
parent 3fc31f70df
commit 5476754f1d

View File

@ -13,7 +13,8 @@ except ImportError:
# common variables. We cannot just import the module because it depends on other # common variables. We cannot just import the module because it depends on other
# modules that might not be installed yet. # modules that might not be installed yet.
filename = os.path.join(os.path.dirname(__file__), 'bottle_sqlite.py') filename = os.path.join(os.path.dirname(__file__), 'bottle_sqlite.py')
source = open(filename).read().split('### CUT HERE')[0] with open(filename) as fp:
source = fp.read().split('### CUT HERE')[0]
exec(source) exec(source)
setup( setup(
@ -30,7 +31,7 @@ setup(
'bottle_sqlite' 'bottle_sqlite'
], ],
requires = [ requires = [
'bottle (>=0.9)' 'bottle (>=0.12)'
], ],
classifiers = [ classifiers = [
'Environment :: Web Environment', 'Environment :: Web Environment',