Skip to content

Commit b092220

Browse files
authored
Merge pull request #70 from 180909/manage-requirements-with-pip-tools
2 parents e987fb4 + b2f72e9 commit b092220

File tree

14 files changed

+390
-12
lines changed

14 files changed

+390
-12
lines changed

docs_requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ Try Examples
33

44
Clon the repo and install dependencies:
55

6-
$ git clone https://github.com/helloflask/flask-ckeditor
7-
$ cd flask-ckeditor/examples
8-
$ pip install -r requirements.txt
6+
$ git clone https://github.com/helloflask/flask-ckeditor.git
7+
$ cd flask-ckeditor
8+
$ pip install -r requirements/examples.txt
9+
$ cd examples
910

1011
Change into the example folder, then run the app:
1112

examples/requirements.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

requirements/dev.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-r tests.in
2+
-r docs.in
3+
-r style.in
4+
pip-compile-multi
5+
tox

requirements/dev.txt

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile requirements/dev.in
6+
#
7+
--index-url https://pypi.tuna.tsinghua.edu.cn/simple
8+
9+
alabaster==0.7.13
10+
# via sphinx
11+
babel==2.13.1
12+
# via sphinx
13+
blinker==1.7.0
14+
# via flask
15+
build==1.0.3
16+
# via pip-tools
17+
cachetools==5.3.2
18+
# via tox
19+
certifi==2023.11.17
20+
# via requests
21+
chardet==5.2.0
22+
# via tox
23+
charset-normalizer==3.3.2
24+
# via requests
25+
click==8.1.7
26+
# via
27+
# flask
28+
# pip-compile-multi
29+
# pip-tools
30+
colorama==0.4.6
31+
# via tox
32+
coverage[toml]==7.3.2
33+
# via
34+
# coverage
35+
# pytest-cov
36+
distlib==0.3.7
37+
# via virtualenv
38+
docutils==0.20.1
39+
# via sphinx
40+
filelock==3.13.1
41+
# via
42+
# tox
43+
# virtualenv
44+
flake8==6.1.0
45+
# via -r requirements/style.in
46+
flask==3.0.0
47+
# via
48+
# -r requirements/tests.in
49+
# flask-admin
50+
# flask-sqlalchemy
51+
# flask-wtf
52+
flask-admin==1.6.1
53+
# via -r requirements/tests.in
54+
flask-sqlalchemy==3.1.1
55+
# via -r requirements/tests.in
56+
flask-wtf==1.2.1
57+
# via -r requirements/tests.in
58+
idna==3.4
59+
# via requests
60+
imagesize==1.4.1
61+
# via sphinx
62+
iniconfig==2.0.0
63+
# via pytest
64+
itsdangerous==2.1.2
65+
# via
66+
# flask
67+
# flask-wtf
68+
jinja2==3.1.2
69+
# via
70+
# flask
71+
# sphinx
72+
markupsafe==2.1.3
73+
# via
74+
# jinja2
75+
# werkzeug
76+
# wtforms
77+
mccabe==0.7.0
78+
# via flake8
79+
packaging==23.2
80+
# via
81+
# build
82+
# pallets-sphinx-themes
83+
# pyproject-api
84+
# pytest
85+
# sphinx
86+
# tox
87+
pallets-sphinx-themes==2.1.1
88+
# via -r requirements/docs.in
89+
pip-compile-multi==2.6.3
90+
# via -r requirements/dev.in
91+
pip-tools==7.3.0
92+
# via pip-compile-multi
93+
platformdirs==3.11.0
94+
# via
95+
# tox
96+
# virtualenv
97+
pluggy==1.3.0
98+
# via
99+
# pytest
100+
# tox
101+
pycodestyle==2.11.1
102+
# via flake8
103+
pyflakes==3.1.0
104+
# via flake8
105+
pygments==2.17.1
106+
# via sphinx
107+
pyproject-api==1.6.1
108+
# via tox
109+
pyproject-hooks==1.0.0
110+
# via build
111+
pytest==7.4.3
112+
# via
113+
# -r requirements/tests.in
114+
# pytest-cov
115+
pytest-cov==4.1.0
116+
# via -r requirements/tests.in
117+
requests==2.31.0
118+
# via sphinx
119+
snowballstemmer==2.2.0
120+
# via sphinx
121+
sphinx==7.2.6
122+
# via
123+
# -r requirements/docs.in
124+
# pallets-sphinx-themes
125+
# sphinxcontrib-applehelp
126+
# sphinxcontrib-devhelp
127+
# sphinxcontrib-htmlhelp
128+
# sphinxcontrib-log-cabinet
129+
# sphinxcontrib-qthelp
130+
# sphinxcontrib-serializinghtml
131+
sphinxcontrib-applehelp==1.0.7
132+
# via sphinx
133+
sphinxcontrib-devhelp==1.0.5
134+
# via sphinx
135+
sphinxcontrib-htmlhelp==2.0.4
136+
# via sphinx
137+
sphinxcontrib-jsmath==1.0.1
138+
# via sphinx
139+
sphinxcontrib-log-cabinet==1.0.1
140+
# via -r requirements/docs.in
141+
sphinxcontrib-qthelp==1.0.6
142+
# via sphinx
143+
sphinxcontrib-serializinghtml==1.1.9
144+
# via sphinx
145+
sqlalchemy==2.0.23
146+
# via flask-sqlalchemy
147+
tablib==3.5.0
148+
# via -r requirements/tests.in
149+
toposort==1.10
150+
# via pip-compile-multi
151+
tox==4.11.3
152+
# via -r requirements/dev.in
153+
typing-extensions==4.8.0
154+
# via sqlalchemy
155+
urllib3==2.1.0
156+
# via requests
157+
virtualenv==20.24.6
158+
# via tox
159+
werkzeug==3.0.1
160+
# via flask
161+
wheel==0.41.3
162+
# via pip-tools
163+
wtforms==3.1.1
164+
# via
165+
# flask-admin
166+
# flask-wtf
167+
168+
# The following packages are considered to be unsafe in a requirements file:
169+
# pip
170+
# setuptools

requirements/docs.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sphinx
2+
pallets-sphinx-themes
3+
sphinxcontrib-log-cabinet

requirements/docs.txt

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile requirements/docs.in
6+
#
7+
--index-url https://pypi.tuna.tsinghua.edu.cn/simple
8+
9+
alabaster==0.7.13
10+
# via sphinx
11+
babel==2.13.1
12+
# via sphinx
13+
certifi==2023.11.17
14+
# via requests
15+
charset-normalizer==3.3.2
16+
# via requests
17+
docutils==0.20.1
18+
# via sphinx
19+
idna==3.4
20+
# via requests
21+
imagesize==1.4.1
22+
# via sphinx
23+
jinja2==3.1.2
24+
# via sphinx
25+
markupsafe==2.1.3
26+
# via jinja2
27+
packaging==23.2
28+
# via
29+
# pallets-sphinx-themes
30+
# sphinx
31+
pallets-sphinx-themes==2.1.1
32+
# via -r requirements/docs.in
33+
pygments==2.17.1
34+
# via sphinx
35+
requests==2.31.0
36+
# via sphinx
37+
snowballstemmer==2.2.0
38+
# via sphinx
39+
sphinx==7.2.6
40+
# via
41+
# -r requirements/docs.in
42+
# pallets-sphinx-themes
43+
# sphinxcontrib-applehelp
44+
# sphinxcontrib-devhelp
45+
# sphinxcontrib-htmlhelp
46+
# sphinxcontrib-log-cabinet
47+
# sphinxcontrib-qthelp
48+
# sphinxcontrib-serializinghtml
49+
sphinxcontrib-applehelp==1.0.7
50+
# via sphinx
51+
sphinxcontrib-devhelp==1.0.5
52+
# via sphinx
53+
sphinxcontrib-htmlhelp==2.0.4
54+
# via sphinx
55+
sphinxcontrib-jsmath==1.0.1
56+
# via sphinx
57+
sphinxcontrib-log-cabinet==1.0.1
58+
# via -r requirements/docs.in
59+
sphinxcontrib-qthelp==1.0.6
60+
# via sphinx
61+
sphinxcontrib-serializinghtml==1.1.9
62+
# via sphinx
63+
urllib3==2.1.0
64+
# via requests

requirements/example.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
flask
2+
flask-wtf
3+
flask-ckeditor
4+
flask-admin
5+
flask-sqlalchemy
6+
tablib

requirements/example.txt

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile requirements/example.in
6+
#
7+
--index-url https://pypi.tuna.tsinghua.edu.cn/simple
8+
9+
blinker==1.7.0
10+
# via flask
11+
click==8.1.7
12+
# via flask
13+
flask==3.0.0
14+
# via
15+
# -r requirements/example.in
16+
# flask-admin
17+
# flask-ckeditor
18+
# flask-sqlalchemy
19+
# flask-wtf
20+
flask-admin==1.6.1
21+
# via -r requirements/example.in
22+
flask-ckeditor==0.5.0
23+
# via -r requirements/example.in
24+
flask-sqlalchemy==3.1.1
25+
# via -r requirements/example.in
26+
flask-wtf==1.2.1
27+
# via -r requirements/example.in
28+
itsdangerous==2.1.2
29+
# via
30+
# flask
31+
# flask-wtf
32+
jinja2==3.1.2
33+
# via flask
34+
markupsafe==2.1.3
35+
# via
36+
# jinja2
37+
# werkzeug
38+
# wtforms
39+
sqlalchemy==2.0.23
40+
# via flask-sqlalchemy
41+
tablib==3.5.0
42+
# via -r requirements/example.in
43+
typing-extensions==4.8.0
44+
# via sqlalchemy
45+
werkzeug==3.0.1
46+
# via flask
47+
wtforms==3.1.1
48+
# via
49+
# flask-admin
50+
# flask-wtf

requirements/style.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
flake8

0 commit comments

Comments
 (0)