Not Installed images, locale and cmaps when "pip install ckanext-pdfview"
Closed this issue · 6 comments
I installed ckanext-pdfview on CKAN2.3.
$ source /usr/lib/ckan/default/bin/activate
$ pip install ckanext-pdfview
But a preview of PDF collapsed.
The following archive doesn't seem to have enough files.
It does not contain the following files .
.ckanext/pdfview/theme/public/vendor/pdfjs/web/cmaps/*
.ckanext/pdfview/theme/public/vendor/pdfjs/web/images/*
.ckanext/pdfview/theme/public/vendor/pdfjs/web/locale/[locale]/*
.ckanext/pdfview/theme/public/img/ajaxload-circle.gif
@kazuomatz please do a development installation for now:
git clone https://github.com/ckan/ckanext-pdfview.git
cd ckanext-pdfview
python setup.py develop
Thanks. I understand.
@jqnatividad sorry, I missed all these on the MANIFEST.in when I did 63e3bf2. We either need to add all relevant extensions or include the whole public dir if that's possible. Do you have a pypi account so you can publish new versions?
@kazuomatz do you want to send a PR including these? You can test if they are included running python setup.py sdist
. This will create the package on ./build
.
Hi @amercader, my pypi username is jqnatividad as well.
@jqnatividad Done
@amercader No , it's OK. Thanks for your support.