[minor] [install] updated requirements and use python2.7
diff --git a/install_erpnext.py b/install_erpnext.py
index 885ccf1..d60f3b8 100644
--- a/install_erpnext.py
+++ b/install_erpnext.py
@@ -9,21 +9,26 @@
is_redhat = is_debian = None
root_password = None
-requirements = [
- "chardet",
- "cssmin",
- "dropbox",
- "google-api-python-client ",
- "jinja2",
- "markdown2",
- "MySQL-python",
- "pygeoip",
- "python-dateutil",
- "python-memcached",
- "pytz==2013b",
- "requests",
- "termcolor",
- "Werkzeug"
+requirements = [
+ "chardet",
+ "cssmin",
+ "dropbox",
+ "google-api-python-client",
+ "gunicorn",
+ "httplib2",
+ "jinja2",
+ "markdown2",
+ "markupsafe",
+ "mysql-python",
+ "pygeoip",
+ "python-dateutil",
+ "python-memcached",
+ "pytz==2013d",
+ "requests",
+ "six",
+ "slugify",
+ "termcolor",
+ "werkzeug"
]
def install(install_path):
@@ -279,8 +284,8 @@
def setup_cron(install_path):
erpnext_cron_entries = [
- "*/3 * * * * cd %s && python lib/wnf.py --run_scheduler >> erpnext-sch.log 2>&1" % install_path,
- "0 */6 * * * cd %s && python lib/wnf.py --backup >> erpnext-backup.log 2>&1" % install_path
+ "*/3 * * * * cd %s && python2.7 lib/wnf.py --run_scheduler >> erpnext-sch.log 2>&1" % install_path,
+ "0 */6 * * * cd %s && python2.7 lib/wnf.py --backup >> erpnext-backup.log 2>&1" % install_path
]
for row in erpnext_cron_entries:
try: