From 3792ee39b28c1ce7b2994061752c2ac6674a9ec5 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sun, 24 Jan 2016 00:04:06 -0500 Subject: [PATCH] Use requirements file This is a standard way of indicating requirements for Python projects, since it makes it easy to automatically install all needed packages with the correct versions. --- README.md | 4 ++-- requirements.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 87f2518..87caf22 100644 --- a/README.md +++ b/README.md @@ -62,10 +62,10 @@ Setting up the server # # OR: # apt-get install python3 python3-pip - 2. Install Flask, and APScheduler: + 2. Install required Python packages: # # You might have to use pip3 if your system defaults to Python 2 - # pip install APScheduler flask + # pip install -r requirements.txt 3. If using in production, install uwsgi and it's python plugin: diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ec351c6 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +APScheduler>=3 +Flask>=0.10 +