Python 如何将ckanext wet boew安装为ckan扩展?
我正在尝试将“ckanext wet boew”ckanext添加到我的ckan 2.2中。Python 如何将ckanext wet boew安装为ckan扩展?,python,ckan,Python,Ckan,我正在尝试将“ckanext wet boew”ckanext添加到我的ckan 2.2中。 以下是我遵循的步骤: 1.-从下载zip文件: 2.-提取到文件夹。 3.-在/usr/lib/ckan/default/src中创建一个名为:ckanext-wet_boew的文件夹 4.-将内容从子文件夹ckanext-wet-boew-master\ckanext-wet-boew-master复制到ckanext-wet\u-boew 5.-如readme.st中所述,我添加了wet-boew-
以下是我遵循的步骤:
1.-从下载zip文件:
2.-提取到文件夹。
3.-在/usr/lib/ckan/default/src中创建一个名为:ckanext-wet_boew的文件夹
4.-将内容从子文件夹ckanext-wet-boew-master\ckanext-wet-boew-master复制到ckanext-wet\u-boew
5.-如readme.st中所述,我添加了wet-boew-dist-3.1.7,并将jqueymobile1.3.2下载到文件夹
6.-现在如中所述:
这里有一个注释:“要通过将所有文件复制到site packages目录来安装python包,请运行python setup.py install”
通过这些步骤,应该可以使用此插件添加到
production.ini
ckan.plugins=。。。湿的主题
既然失败了,我就做了
pythonsetup.py
developer
但是没有办法。有什么想法吗?
谢谢安装后,解压缩wet boew dist zip文件后,您的文件目录应该如下所示:
ckanext-wet_boew/
README.rst
setup.py
ckanext/
wet_boew/
plugins.py
templates/
theme/
public/
en/
fr/
images
readme.rst
dist/
ckan/
grids/
js/
resource.config
theme-base/
theme-clf2-nsi2/
theme-gcwu-fegc/
theme-gcwu-intranet/
theme-ogpl/
theme-wet-boew/
如果文件不在此结构中,则扩展名将无法工作
在根文件夹中的setup.py上运行“python setup.py develope”后,该包应该可以使用。Hi。谢谢,我已经检查了您的结构,在重新安装并运行python setup.py develope之后,它似乎可以工作(不完全是为什么)。不幸的是,web响应并没有像预期的那样工作。不确定jquery移动版或什么。谢谢