2DU 8 лет назад
Родитель
Сommit
63502d887b
4 измененных файлов с 8 добавлено и 11 удалено
  1. 0 1
      app.py
  2. 1 0
      mark.py
  3. 2 10
      readme.md
  4. 5 0
      requirements.txt

+ 0 - 1
app.py

@@ -5,7 +5,6 @@ import sqlite3
 import bcrypt
 import os
 import difflib
-from multiprocessing import Process
 
 try:
     json_data = open('set.json').read()

+ 1 - 0
mark.py

@@ -9,6 +9,7 @@ import hashlib
 import html
 import datetime
 import time
+from multiprocessing import Process
 
 json_data = open('set.json').read()
 set_data = json.loads(json_data)

+ 2 - 10
readme.md

@@ -13,20 +13,12 @@
  * [파이썬](https://www.python.org/downloads/) 3.5 이상
  
 ### 윈도우
- * pip install [bottle](https://pypi.python.org/pypi/bottle)
- * pip install [bottle-beaker](https://pypi.python.org/pypi/bottle-beaker)
- * pip install [tornado](https://pypi.python.org/pypi/tornado)
- * pip install [bcrypt](https://pypi.python.org/pypi/bcrypt)
- * pip install [css-html-js-minify](https://pypi.python.org/pypi/css-html-js-minify)
+ * pip install -r requirements.txt
  
 cmd에 치면 됩니다.
 ### 우분투
  * sudo apt-get install python3-pip
- * pip3 install [bottle](https://pypi.python.org/pypi/bottle)
- * pip3 install [bottle-beaker](https://pypi.python.org/pypi/bottle-beaker)
- * pip3 install [tornado](https://pypi.python.org/pypi/tornado)
- * pip3 install [bcrypt](https://pypi.python.org/pypi/bcrypt)
- * pip3 install [css-html-js-minify](https://pypi.python.org/pypi/css-html-js-minify)
+ * pip3 install -r requirements.txt
  
 터미널에 치면 됩니다.
 ### 자세한 설명

+ 5 - 0
requirements.txt

@@ -0,0 +1,5 @@
+bottle>=0.12.13
+bottle-beaker>=0.1.3
+css-html-js-minify>=2.2.2
+tornado>=4.5.2
+bcrypt>=3.1.3