From 41b881dc704fb4a3a100a4dcccec154e14b3c792 Mon Sep 17 00:00:00 2001 From: "bingqiang.lin" Date: Wed, 29 Mar 2017 10:32:22 +0800 Subject: [PATCH] remove useless library in requirements.txt --- .gitignore | 7 +------ flash_cards.py | 8 ++++---- requirements.txt | 6 ------ 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 86a4516f..0a764a4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -.idea/ -py3env/ -__pycache__/ -*.pyc -config-personal.txt -cards.db +env diff --git a/flash_cards.py b/flash_cards.py index 12bf29c0..3a0ac20f 100644 --- a/flash_cards.py +++ b/flash_cards.py @@ -49,10 +49,10 @@ def close_db(error): # Uncomment and use this to initialize database, then comment it # You can rerun it to pave the database and start over -# @app.route('/initdb') -# def initdb(): -# init_db() -# return 'Initialized the database.' +#@app.route('/initdb') +#def initdb(): + #init_db() + #return 'Initialized the database.' @app.route('/') diff --git a/requirements.txt b/requirements.txt index a099dcc0..0ec76a41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,12 +3,9 @@ chardet==2.3.0 click==6.7 configparser==3.5.0 cryptography==1.5 -duplicity==0.7.6 enum34==1.1.6 Flask==0.12 -functools32==3.2.3.post2 future==0.15.2 -gyp==0.1 httplib2==0.9.2 idna==2.1 ipaddress==1.0.16 @@ -21,10 +18,7 @@ ndg-httpsclient==0.4.2 psutil==4.2.0 pyasn1==0.1.9 pycurl==7.43.0 -pygobject==3.22.0 pyOpenSSL==16.1.0 -python-apt==1.1.0b5 -python-cloudfiles==1.7.10 pytz==2016.10 pyxdg==0.25 requests==2.11.1