Skip to content

Commit

Permalink
corrected setup intructions for py37
Browse files Browse the repository at this point in the history
  • Loading branch information
l-singh-biomsu authored Aug 29, 2024
1 parent a47a7eb commit a4d0369
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
10 changes: 5 additions & 5 deletions system_setup/full_setup.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#!/bin/bash

# System Setup
yes Y | sh system_setup/sys_requirements_setup.txt
yes Y | sh system_setup/sys_requirements.txt
sudo sed -i '$a wait_timeout = 31536000' /etc/mysql/mysql.conf.d/mysqld.cnf
sudo sed -i '$a interactive_timeout = 31536000' /etc/mysql/mysql.conf.d/mysqld.cnf
echo 'System setup complete.'

# Python Requirements Setup
virtualenv histdb_py27
source histdb_py27/bin/activate
echo 'Virtualenv created and set to histdb_py27.'
virtualenv -p python3.7 venv_histdb_py37
source venv_histdb_py37/bin/activate
echo 'Virtualenv created and set to venv_histdb_py37.'
#yes Y | sh system_setup/py_requirements_setup.txt
pip install --yes --no-cache-dir -r system_setup/py_requirements.txt
echo 'Python setup complete.'

sudo systemctl restart mysql
sudo service apache2 restart
sudo service apache2 restart
21 changes: 12 additions & 9 deletions system_setup/py_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# requirements_webserver + more
Flask
pydot
pygraphviz
bibtexparser==1.2.0
biopython==1.74
joblib==0.14.1
tqdm==4.43.0
colour==0.1.5
decorator==4.4.2
dj-database-url==0.5.0
Django==1.8.19
Django==3.2.13
django-debug-toolbar==1.3.2
django-extensions==2.2.8
django-filter==0.10.0
django-filters==0.2.1
django-extensions==2.1.0
django-filter==21.1
django-mptt==0.13.4
django-google-analytics-id==1.0.1
gunicorn>=19.5.0
matplotlib==1.4.3
mock==3.0.5
more-itertools==5.0.0
mysqlclient
mysqlclient==2.0
networkx==1.10
nose==1.3.7
numpy==1.16.6
Expand All @@ -29,7 +35,4 @@ scipy==1.2.3
seaborn==0.6.0
six==1.11.0
sklearn==0.0
sqlparse==0.3.1
#whitenoise
# ERROR: Package 'whitenoise' requires a different Python: 2.7.0 not in '>=3.5, <4'
# Note: MySql-python changed to (PyMySQL + mysqlclient) and removed wsgiref (as it is already inculuded in python 3) for python3
sqlparse==0.3.1

0 comments on commit a4d0369

Please sign in to comment.