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.
This commit is contained in:
ShadowNinja
2016-01-24 00:04:06 -05:00
parent ccd85da424
commit 3792ee39b2
2 changed files with 5 additions and 2 deletions

View File

@@ -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:

3
requirements.txt Normal file
View File

@@ -0,0 +1,3 @@
APScheduler>=3
Flask>=0.10