Skip to content

Commit

Permalink
remove jinja2, add pipfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fuktommy committed Mar 28, 2022
1 parent 3812f19 commit fbcb053
Show file tree
Hide file tree
Showing 39 changed files with 22 additions and 14,042 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.pyc
*.pyo
Pipfile.lock
cache
file/version.txt
log
Expand Down
4 changes: 1 addition & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2005-2021 shinGETsu Project.
Copyright (c) 2005-2022 shinGETsu Project.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand All @@ -24,8 +24,6 @@ SUCH DAMAGE.


See also
* jinja2/LICENSE
* markupsafe/LICENSE
* doc/marked.LICENSE.txt
* doc/spoiler-alert.README.md
* www/bootstrap/css/bootstrap.min.css
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ clean:
-find . -type d -name "__pycache__" -print0 | xargs -0 -r rmdir

distclean: clean
rm -f Pipfile.lock
find . \( -name "*~" -o -name "#*" -o -name ".#*" \) \! -path ".git/*" \
-print0 | \
xargs -0 -r rm -fv
Expand Down
13 changes: 13 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
jinja2 = "*"
pillow = "*"

[dev-packages]

[requires]
python_version = "3.9"
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Authors
Contributers
------------
* (run_cgi) Python Software Foundation.
* (Jinja2) the Jinja Team.
* (MarkupSafe) Armin Ronacher and contributors.
* (jQuery) The jQuery Foundation.
* (Twitter Bootstrap) Twitter.
* (jQuery Lazy) Daniel 'Eisbehr' Kern
Expand Down Expand Up @@ -54,8 +52,8 @@ Description
Saku requires
-------------
* Python (ver.3.4.2 or later)
* pipenv if you install packages with pipenv
* Jinja2 (ver.2.7.3 or later) if you install Saku
* markupsafe (ver.0.23 or later) if you install Saku
* PIL or Pillow (Python Imaging Libraty) if you need
* Supervisor if you need

Expand All @@ -64,7 +62,8 @@ Usage Saku without install
1. Open port 8000/tcp.
2. Edit file/saku.ini.
3. Start with
% python ./saku.py -v
% pipenv install
% pipenv run python3 ./saku.py -v
4. Browse http://localhost:8000/.
5. Stop with ^C.

Expand Down
7 changes: 3 additions & 4 deletions doc/README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ Authors
Contributers
------------
* (run_cgi) Python Software Foundation.
* (Jinja2) the Jinja Team.
* (MarkupSafe) Armin Ronacher and contributors.
* (jQuery) The jQuery Foundation.
* (Twitter Bootstrap) Twitter.
* (jQuery Lazy) Daniel 'Eisbehr' Kern
Expand Down Expand Up @@ -46,8 +44,8 @@ Sakuは Shingetsu Another Keen Utility の略です。
朔に必要なプログラム
--------------------
* Python (ver.3.2以降)
* pipenv パッケージをpipenvでインストールする場合
* Jinja2 (ver.2.6) 朔をインストールする場合
* markupsafe (ver.0.19以降) 朔をインストールする場合
* PIL または Pillow (Python Imaging Library) もし必要なら
* Supervisor もし必要なら

Expand All @@ -58,7 +56,8 @@ Sakuは Shingetsu Another Keen Utility の略です。
詳しくは doc/sample.ini をご覧ください。
3. 次のコマンドで起動します。

% python ./saku.py -v
% pipenv install
% pipenv run python3 ./saku.py -v

4. その後 http://localhost:8000/ を表示してください。
5. 止めるときは ^C (Ctrl+C)を押下してください。
Expand Down
73 changes: 0 additions & 73 deletions jinja2/LICENSE

This file was deleted.

44 changes: 0 additions & 44 deletions jinja2/__init__.py

This file was deleted.

132 changes: 0 additions & 132 deletions jinja2/_compat.py

This file was deleted.

6 changes: 0 additions & 6 deletions jinja2/_identifier.py

This file was deleted.

Loading

0 comments on commit fbcb053

Please sign in to comment.