Skip to content

Commit 595ce52

Browse files
author
Anusha Ranganathan
committed
Fixing debian
1 parent f4ebfd7 commit 595ce52

File tree

7 files changed

+15
-17
lines changed

7 files changed

+15
-17
lines changed

debian/control

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,6 @@ Depends: python,
1515
python-dev,
1616
python-setuptools,
1717
python-virtualenv,
18-
python-dateutil (= 1.5),
19-
python-pairtree (= 0.7.1-T),
20-
python-recordsilo,
21-
python-solrpy,
22-
python-rdflib,
23-
python-redis,
24-
python-distribute,
25-
python-lxml,
26-
python-sqlalchemy,
27-
python-webob,
28-
python-WebTest,
29-
python-pylons,
30-
python-repoze.who-friendlyform,
31-
python-repoze.who,
32-
python-uuid,
3318
mysql-server,
3419
libmysql++-dev,
3520
git-core,

debian/databank.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ mod_wsgi /var/lib/databank/
1010
message_workers/ /var/lib/databank/
1111
rdfdatabank/ /var/lib/databank/
1212
rdfdatabank.egg-info/ /var/lib/databank
13+
requirements.txt /var/lib/databank/
1314
test.ini /var/lib/databank/
1415
who.ini /var/lib/databank/
1516
sss/ /var/lib/databank/

debian/postinst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ echo "Setting python environment"
108108
virtualenv --no-site-packages /var/lib/databank/
109109
cd /var/lib/databank/
110110
. bin/activate
111+
# Get the version of python being used
112+
if [ -d /var/lib/databank/lib/python2.6/ ]
113+
then
114+
py_site=databank_ve26_wsgi
115+
else
116+
py_site=databank_ve27_wsgi
117+
fi
118+
111119
easy_install -U distribute
112120
pip install -r requirements.txt
113121

development.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ rights = http://ora.ouls.ox.ac.uk/objects/uuid%3A1d00eebb-8fed-46ad-8e38-45dbdb4
8484
license = CC0 1.0 Universal (CC0 1.0). See http://creativecommons.org/publicdomain/zero/1.0/legalcode
8585
#license = Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. See http://creativecommons.org/licenses/by-nc-sa/3.0/
8686

87-
api.version = 1.0.1
87+
api.version = 1.0.2
8888

8989
# If you'd like to fine-tune the individual locations of the cache data dirs
9090
# for the Cache data, or the Session saves, un-comment the desired settings

production.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ rights = http://ora.ouls.ox.ac.uk/objects/uuid%3A1d00eebb-8fed-46ad-8e38-45dbdb4
8080
license = CC0 1.0 Universal (CC0 1.0). See http://creativecommons.org/publicdomain/zero/1.0/legalcode
8181
#license = Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. See http://creativecommons.org/licenses/by-nc-sa/3.0/
8282

83-
api.version = 1.0.1
83+
api.version = 1.0.2
8484

8585
# If you'd like to fine-tune the individual locations of the cache data dirs
8686
# for the Cache data, or the Session saves, un-comment the desired settings

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ sqlalchemy==0.7.6
1212
webob==0.9.7
1313
WebTest==1.1
1414
pylons==1.0
15+
repoze.what-quickstart
16+
repoze.who-friendlyform
1517
repoze.profile
1618
repoze.who-friendlyform
1719
repoze.who==2.0a4

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ sqlalchemy==0.7.6
1212
webob==0.9.7
1313
WebTest==1.1
1414
pylons==1.0
15+
repoze.what-pylons
16+
repoze.what-quickstart
1517
repoze.who-friendlyform
1618
repoze.who==2.0a4
1719
uuid

0 commit comments

Comments
 (0)