43 Commits

Author SHA1 Message Date
Jeff Widman
0ca1f6b241 Install custom Sphinx theme via extras_require (#250)
Previously the custom theme was vendored in via a `git` submodule...

Now this theme is available via a python package, so install it using `extras_require` instead.

This also unlocks letting other tooling such as ReadTheDocs install the custom theme without having to do custom git incantations.

I also removed the `index_logo` config as Sphinx warns that it's not a supported option by the theme. I grep'd the theme package, and it makes no mention of this option, besides we were leaving it blank already, so there's no point in having it.
2024-04-24 07:40:27 -07:00
Jeff Widman
1c39a9ce47 Require Flask >= 2.2.0, Python >= 3.7
Require Flask >= `2.2.0`.

I'm comfortable going up to requiring `3.x`, but when I grep'd for
places we use older Flask constructs, this was all I found.

So for now no need to jump further.

Flask `2.2.0` requires Python >= `3.7`, so also dropped older pythons.
2023-12-11 11:25:52 -07:00
Grey Li
ab9a41df6a Add the missing install requirement packaging (#225)
The `packaging` lib is not listed in the `install_requires` list.

https://github.com/greyli/flask-extension-status/actions/runs/7129071225/job/19412328108

```
Run python -c "from flask import Flask; app = Flask(__name__); from flask_debugtoolbar import DebugToolbarExtension; DebugToolbarExtension(app)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/flask_debugtoolbar/__init__.py", line 6, in <module>
    from packaging import version as version_builder
ModuleNotFoundError: No module named 'packaging'
Error: Process completed with exit code 1.
```
2023-12-07 08:32:29 -08:00
Hiromasa Ihara
ce02d2da3c fix: migrate from deprecated flask.Markup to markupsafe.Markup (#203) 2023-05-24 10:22:56 -07:00
Jeff Widman
7f17d2ce57 Update PyPI metadata files: add setup.cfg etc (#164)
Update to the newer PyPI / python packaging metadata file structure.

A lot of this was cribbed from how [`Flask`](https://github.com/pallets/flask) itself
exposes its metadata.
2022-03-26 21:51:54 -07:00
Jeff Widman
39ac97a7e0 pycodestyle fixes 2020-02-18 01:21:40 -08:00
Jeff Widman
a5cb5a709f Bump version for development 2020-02-18 01:19:49 -08:00
Jeff Widman
02064c76ed Release 0.11.0 2020-02-18 01:11:19 -08:00
Jeff Widman
c27256c00a Bump dev version 2017-02-12 03:33:05 -08:00
Jeff Widman
010206298e Release 0.10.1 2017-02-12 03:04:07 -08:00
Jeff Widman
9f2c353e86 Trivial imports cleanup 2017-02-12 02:31:26 -08:00
Jeff Widman
e33f3e1c85 Update RTD links w/https & .io 2017-02-09 23:54:16 -08:00
Matt Good
ee726eece2 Better setup.py description 2015-04-17 17:53:40 -07:00
Matt Good
c0826c9a31 Add detailed docs on the built-in panels 2015-04-14 17:22:07 -07:00
Matt Good
bebe884615 Update for 0.9.2 release 2014-12-05 15:43:46 -08:00
Matt Good
6286dadc27 Version update for 0.9.1 release 2014-11-24 13:25:17 -08:00
Matt Good
d671a849bb Bump version for new release 2014-01-03 15:07:48 -08:00
Matt Good
26034475f2 Load panels with werkzeug's "import_string"
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.
2013-07-30 17:56:54 -07:00
Matt Good
1029b9131b Prepare 0.8.0 release 2013-02-21 12:25:45 -08:00
Matt Good
50017f13a7 Switch to itsdangerous for SQL query signing
Fixing #31 where the query signing would break when the SECRET_KEY
contained non-ascii values. In the process switch to itsdangerous
instead of rolling our own signatures.
2013-02-20 20:02:00 -08:00
Matt Good
80eb747816 Release 0.7.1 to fix the in-place loading of the template editor 2012-05-18 18:20:28 -07:00
Matt Good
913c4130b6 Prepare 0.7 release 2012-05-18 17:54:46 -07:00
Matt Good
72e8e277af Bump version to 0.6.3.1 to re-release with changelog info 2012-04-16 13:25:25 -07:00
Matt Good
f84087156a Prepare 0.6.3 release 2012-04-16 13:15:26 -07:00
Matt Good
ba56f81d19 Preparse 0.6.2 release 2012-02-18 14:22:04 -08:00
Matt Good
e92c102bc9 Prepare 0.6.1 release 2012-02-15 12:35:58 -08:00
Kenneth Reitz
1834443246 Requiring setuptools is evil :) 2012-01-30 22:26:37 -05:00
Matt Good
84aadad8e4 0.6 release 2012-01-04 07:50:28 -08:00
Matt Good
114385af4c Remove hard dependency on simplejson
simplejson is only needed for the SQLAlchemy panel on Python < 2.6
Also, provides a nice error message in the SQLAlchemy panel about
missing dependencies.
2012-01-03 11:07:50 -08:00
Matt Good
853fd7147f Add missing dependency on Blinker 2012-01-03 10:24:56 -08:00
Michael van Tellingen
0f06c07222 Update setup file 2011-10-17 21:36:25 +02:00
Jorge Bastida
1b6c049e1e Fix typo in setup.py 2011-05-12 12:55:11 +01:00
Jorge Bastida
46d87a0bbd Added missing 'flaskext.debugtoolbar.panels' package to setup.py 2011-05-12 12:53:40 +01:00
mvantellingen
fb11199f07 update version to 5.1dev 2011-03-14 13:29:25 +01:00
Michael van Tellingen
f3ed36d1d0 Hopefully fix the packaging now 2011-02-24 21:56:18 +01:00
Michael van Tellingen
2105b2ae0c Update version 2011-02-24 21:13:34 +01:00
mvantellingen
7cb90a4207 Don't use signals to bind the toolbar instead use the app.before_request and app.after_request bindings 2011-02-13 21:22:36 +01:00
mvantellingen
d7056a63ea Update version to 0.4.6dev 2011-02-06 23:14:56 +01:00
mvantellingen
dacc8ad09c Update version number and package data 2011-02-05 21:45:47 +01:00
mvantellingen
9f6d611332 Update version and remove package_* config 2011-02-05 20:59:24 +01:00
mvantellingen
8ddc7ecbc7 Add blinker as install dependency (used for signals within flask) 2011-02-04 21:56:38 +01:00
Michael van Tellingen
d2957e58b1 Raise version 2011-02-03 21:47:30 +01:00
mvantellingen
3dac361ed4 Add setup.py script and an example app 2011-02-02 20:01:50 +01:00