mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2026-01-02 03:29:36 -06:00
Also add back caching of the loaded panel classes. This prevents repeated warnings if there was an import error loading the class the first time.
49 lines
1.3 KiB
Python
49 lines
1.3 KiB
Python
import os
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
try:
|
|
README = open(os.path.join(here, 'README.rst')).read()
|
|
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
|
|
except:
|
|
README = ''
|
|
CHANGES = ''
|
|
|
|
|
|
setup(
|
|
name='Flask-DebugToolbar',
|
|
version='0.8.0',
|
|
url='http://flask-debugtoolbar.rtfd.org/',
|
|
license='BSD',
|
|
author='Michael van Tellingen',
|
|
author_email='michaelvantellingen@gmail.com',
|
|
maintainer='Matt Good',
|
|
maintainer_email='matt@matt-good.net',
|
|
description='A port of the Django debug toolbar to Flask',
|
|
long_description=README + '\n\n' + CHANGES,
|
|
zip_safe=False,
|
|
platforms='any',
|
|
include_package_data=True,
|
|
packages=['flask_debugtoolbar',
|
|
'flask_debugtoolbar.panels'
|
|
],
|
|
install_requires=[
|
|
'Flask>=0.8',
|
|
'Blinker',
|
|
'itsdangerous',
|
|
'werkzeug',
|
|
],
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Environment :: Web Environment',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
]
|
|
)
|