Skip to content

Commit

Permalink
Merge pull request #70 from 180909/manage-requirements-with-pip-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli authored Nov 27, 2023
2 parents e987fb4 + b2f72e9 commit b092220
Show file tree
Hide file tree
Showing 14 changed files with 390 additions and 12 deletions.
2 changes: 0 additions & 2 deletions docs_requirements.txt

This file was deleted.

7 changes: 4 additions & 3 deletions examples/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ Try Examples

Clon the repo and install dependencies:

$ git clone https://github.com/helloflask/flask-ckeditor
$ cd flask-ckeditor/examples
$ pip install -r requirements.txt
$ git clone https://github.com/helloflask/flask-ckeditor.git
$ cd flask-ckeditor
$ pip install -r requirements/examples.txt
$ cd examples

Change into the example folder, then run the app:

Expand Down
6 changes: 0 additions & 6 deletions examples/requirements.txt

This file was deleted.

5 changes: 5 additions & 0 deletions requirements/dev.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-r tests.in
-r docs.in
-r style.in
pip-compile-multi
tox
170 changes: 170 additions & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements/dev.in
#
--index-url https://pypi.tuna.tsinghua.edu.cn/simple

alabaster==0.7.13
# via sphinx
babel==2.13.1
# via sphinx
blinker==1.7.0
# via flask
build==1.0.3
# via pip-tools
cachetools==5.3.2
# via tox
certifi==2023.11.17
# via requests
chardet==5.2.0
# via tox
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via
# flask
# pip-compile-multi
# pip-tools
colorama==0.4.6
# via tox
coverage[toml]==7.3.2
# via
# coverage
# pytest-cov
distlib==0.3.7
# via virtualenv
docutils==0.20.1
# via sphinx
filelock==3.13.1
# via
# tox
# virtualenv
flake8==6.1.0
# via -r requirements/style.in
flask==3.0.0
# via
# -r requirements/tests.in
# flask-admin
# flask-sqlalchemy
# flask-wtf
flask-admin==1.6.1
# via -r requirements/tests.in
flask-sqlalchemy==3.1.1
# via -r requirements/tests.in
flask-wtf==1.2.1
# via -r requirements/tests.in
idna==3.4
# via requests
imagesize==1.4.1
# via sphinx
iniconfig==2.0.0
# via pytest
itsdangerous==2.1.2
# via
# flask
# flask-wtf
jinja2==3.1.2
# via
# flask
# sphinx
markupsafe==2.1.3
# via
# jinja2
# werkzeug
# wtforms
mccabe==0.7.0
# via flake8
packaging==23.2
# via
# build
# pallets-sphinx-themes
# pyproject-api
# pytest
# sphinx
# tox
pallets-sphinx-themes==2.1.1
# via -r requirements/docs.in
pip-compile-multi==2.6.3
# via -r requirements/dev.in
pip-tools==7.3.0
# via pip-compile-multi
platformdirs==3.11.0
# via
# tox
# virtualenv
pluggy==1.3.0
# via
# pytest
# tox
pycodestyle==2.11.1
# via flake8
pyflakes==3.1.0
# via flake8
pygments==2.17.1
# via sphinx
pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
pytest==7.4.3
# via
# -r requirements/tests.in
# pytest-cov
pytest-cov==4.1.0
# via -r requirements/tests.in
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==7.2.6
# via
# -r requirements/docs.in
# pallets-sphinx-themes
# sphinxcontrib-applehelp
# sphinxcontrib-devhelp
# sphinxcontrib-htmlhelp
# sphinxcontrib-log-cabinet
# sphinxcontrib-qthelp
# sphinxcontrib-serializinghtml
sphinxcontrib-applehelp==1.0.7
# via sphinx
sphinxcontrib-devhelp==1.0.5
# via sphinx
sphinxcontrib-htmlhelp==2.0.4
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
# via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.6
# via sphinx
sphinxcontrib-serializinghtml==1.1.9
# via sphinx
sqlalchemy==2.0.23
# via flask-sqlalchemy
tablib==3.5.0
# via -r requirements/tests.in
toposort==1.10
# via pip-compile-multi
tox==4.11.3
# via -r requirements/dev.in
typing-extensions==4.8.0
# via sqlalchemy
urllib3==2.1.0
# via requests
virtualenv==20.24.6
# via tox
werkzeug==3.0.1
# via flask
wheel==0.41.3
# via pip-tools
wtforms==3.1.1
# via
# flask-admin
# flask-wtf

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
3 changes: 3 additions & 0 deletions requirements/docs.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx
pallets-sphinx-themes
sphinxcontrib-log-cabinet
64 changes: 64 additions & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements/docs.in
#
--index-url https://pypi.tuna.tsinghua.edu.cn/simple

alabaster==0.7.13
# via sphinx
babel==2.13.1
# via sphinx
certifi==2023.11.17
# via requests
charset-normalizer==3.3.2
# via requests
docutils==0.20.1
# via sphinx
idna==3.4
# via requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.2
# via sphinx
markupsafe==2.1.3
# via jinja2
packaging==23.2
# via
# pallets-sphinx-themes
# sphinx
pallets-sphinx-themes==2.1.1
# via -r requirements/docs.in
pygments==2.17.1
# via sphinx
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==7.2.6
# via
# -r requirements/docs.in
# pallets-sphinx-themes
# sphinxcontrib-applehelp
# sphinxcontrib-devhelp
# sphinxcontrib-htmlhelp
# sphinxcontrib-log-cabinet
# sphinxcontrib-qthelp
# sphinxcontrib-serializinghtml
sphinxcontrib-applehelp==1.0.7
# via sphinx
sphinxcontrib-devhelp==1.0.5
# via sphinx
sphinxcontrib-htmlhelp==2.0.4
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
# via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.6
# via sphinx
sphinxcontrib-serializinghtml==1.1.9
# via sphinx
urllib3==2.1.0
# via requests
6 changes: 6 additions & 0 deletions requirements/example.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
flask
flask-wtf
flask-ckeditor
flask-admin
flask-sqlalchemy
tablib
50 changes: 50 additions & 0 deletions requirements/example.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements/example.in
#
--index-url https://pypi.tuna.tsinghua.edu.cn/simple

blinker==1.7.0
# via flask
click==8.1.7
# via flask
flask==3.0.0
# via
# -r requirements/example.in
# flask-admin
# flask-ckeditor
# flask-sqlalchemy
# flask-wtf
flask-admin==1.6.1
# via -r requirements/example.in
flask-ckeditor==0.5.0
# via -r requirements/example.in
flask-sqlalchemy==3.1.1
# via -r requirements/example.in
flask-wtf==1.2.1
# via -r requirements/example.in
itsdangerous==2.1.2
# via
# flask
# flask-wtf
jinja2==3.1.2
# via flask
markupsafe==2.1.3
# via
# jinja2
# werkzeug
# wtforms
sqlalchemy==2.0.23
# via flask-sqlalchemy
tablib==3.5.0
# via -r requirements/example.in
typing-extensions==4.8.0
# via sqlalchemy
werkzeug==3.0.1
# via flask
wtforms==3.1.1
# via
# flask-admin
# flask-wtf
1 change: 1 addition & 0 deletions requirements/style.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flake8
16 changes: 16 additions & 0 deletions requirements/style.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements/style.in
#
--index-url https://pypi.tuna.tsinghua.edu.cn/simple

flake8==6.1.0
# via -r requirements/style.in
mccabe==0.7.0
# via flake8
pycodestyle==2.11.1
# via flake8
pyflakes==3.1.0
# via flake8
7 changes: 7 additions & 0 deletions requirements/tests.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pytest
pytest-cov
flask
flask-wtf
flask-admin
flask-sqlalchemy
tablib
Loading

0 comments on commit b092220

Please sign in to comment.