You are not logged in.

#1 2016-01-27 02:51:11

charli3
Member
Registered: 2015-06-01
Posts: 45

Does anyone know how to get the 'python-epub' package to run?

For some reason after I

$ yaourt -S python-epub

and the package installs I can't seem to run

 $ epub

as per the readme.  Anybody have an idea what's going on here?

According to the pkgfile it looks like it runs 'setup.py install' but I can't seem to find the 'epub' executable anywhere. 

Thanks in advance.

Offline

#2 2016-01-27 03:03:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: Does anyone know how to get the 'python-epub' package to run?

pacman -Ql <packagename>

Edit: You seem to be looking at the readme for a totally different program.

Last edited by Scimmia (2016-01-27 03:05:21)

Offline

#3 2016-01-27 03:04:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,770

Re: Does anyone know how to get the 'python-epub' package to run?

Why is the output of when you try that?

What is the output of pacman -Ql python-epub   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2016-01-27 03:41:07

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Does anyone know how to get the 'python-epub' package to run?

here is the documentation

python-epub doc

but it is not in english, so I don't get it.

Anyway if you are just planning to read epub docs, why don't try FBReader, from official repos?

Offline

#5 2016-01-27 09:20:22

charli3
Member
Registered: 2015-06-01
Posts: 45

Re: Does anyone know how to get the 'python-epub' package to run?

ewaller wrote:

Why is the output of when you try that?

What is the output of pacman -Ql python-epub   ?

Here's the output:

python-epub /usr/
python-epub /usr/lib/
python-epub /usr/lib/python3.5/
python-epub /usr/lib/python3.5/site-packages/
python-epub /usr/lib/python3.5/site-packages/epub-0.5.2-py3.5.egg-info
python-epub /usr/lib/python3.5/site-packages/epub/
python-epub /usr/lib/python3.5/site-packages/epub/__init__.py
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/__init__.cpython-35.opt-1.pyc
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/__init__.cpython-35.pyc
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/ncx.cpython-35.opt-1.pyc
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/ncx.cpython-35.pyc
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/opf.cpython-35.opt-1.pyc
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/opf.cpython-35.pyc
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/utils.cpython-35.opt-1.pyc
python-epub /usr/lib/python3.5/site-packages/epub/__pycache__/utils.cpython-35.pyc
python-epub /usr/lib/python3.5/site-packages/epub/ncx.py
python-epub /usr/lib/python3.5/site-packages/epub/opf.py
python-epub /usr/lib/python3.5/site-packages/epub/utils.py

...

Docbroke wrote:

Anyway if you are just planning to read epub docs, why don't try FBReader, from official repos?

I'm not a big fan of FBReader.

From the docs and what little I remember of French from HS it would appear that python-epub is a library not an application...why then would it be listed in the Applications wiki?

Last edited by charli3 (2016-01-27 09:26:31)

Offline

#6 2016-01-27 10:04:54

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Does anyone know how to get the 'python-epub' package to run?

charli3 wrote:

it would appear that python-epub is a library not an application...why then would it be listed in the Applications wiki?

The links are to the library, but the description seems to be taken from the console program that you found (linked in the OP). Why don't you try that epub.py script? Single file, so easy to try (after installing dependencies). If you like it, you can decide to package it.

Offline

#7 2016-01-27 12:34:51

charli3
Member
Registered: 2015-06-01
Posts: 45

Re: Does anyone know how to get the 'python-epub' package to run?

Raynman wrote:

The links are to the library, but the description seems to be taken from the console program that you found (linked in the OP). Why don't you try that epub.py script? Single file, so easy to try (after installing dependencies). If you like it, you can decide to package it.

Hey, I cloned that repository and ran the epub.py script and what do you know...it works!  I'll try it out and if I like it enough I'll make a package for it.  I've never made a package for the aur so I'll have to brush up on how to do that.

Last edited by charli3 (2016-01-27 12:35:10)

Offline

Board footer

Powered by FluxBB