mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
This commit is contained in:
parent
20b7378b19
commit
08ac78c8cd
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
TRAC_ROOT=/var/lib/trac/libprs500/htdocs/apidocs
|
||||
|
||||
all: doc sdist egg
|
||||
|
||||
sdist:
|
||||
python setup.py sdist --formats=gztar,zip
|
||||
|
||||
egg:
|
||||
python setup.py bdist_egg
|
||||
|
||||
doc:
|
||||
epydoc --config epydoc.conf
|
||||
cp -r docs/html ${TRAC_ROOT}/
|
||||
epydoc -v --config epydoc-pdf.conf
|
||||
cp docs/pdf/api.pdf ${TRAC_ROOT}/
|
@ -1,8 +0,0 @@
|
||||
all: doc tarball
|
||||
|
||||
tarball:
|
||||
python setup.py sdist --formats=gztar,zip
|
||||
|
||||
doc:
|
||||
epydoc --config epydoc.conf
|
||||
epydoc -v --config epydoc-pdf.conf
|
22
README
22
README
@ -1,22 +0,0 @@
|
||||
Requirements:
|
||||
1) Python >= 2.5
|
||||
2) PyUSB >= 0.3.4 (http://sourceforge.net/projects/pyusb/)
|
||||
3) For the GUI:
|
||||
- pyxml >= 0.84
|
||||
- PyQt4 >= 4.1
|
||||
|
||||
Installation:
|
||||
As root
|
||||
python setup.py install
|
||||
|
||||
On Linux, to enable access to the reader for non-root users, you need to add the following to
|
||||
/etc/udev/rules.d/90-local.rules
|
||||
|
||||
BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"
|
||||
|
||||
You may have to adjust the GROUP and the location of the 90-local.rules file to suit your distribution.
|
||||
|
||||
Usage:
|
||||
1) A command line interface is provided via, the command prs500
|
||||
2) A GUI is provided via the command prs500-gui
|
||||
3) You can read/edit the metadata of LRF files via the command lrf-meta
|
@ -2,12 +2,12 @@
|
||||
|
||||
# Information about the project.
|
||||
name: libprs500
|
||||
#url: http://
|
||||
url: http://libprs500.kovidgoyal.net
|
||||
|
||||
# The list of modules to document. Modules can be named using
|
||||
# dotted names, module filenames, or package directory names.
|
||||
# This option may be repeated.
|
||||
modules: libprs500, scripts/prs500.py, usb, struct
|
||||
modules: libprs500/*.py, libprs500.lrf, usb, struct
|
||||
|
||||
output: pdf
|
||||
target: docs/pdf
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
# Information about the project.
|
||||
name: libprs500
|
||||
#url: http://
|
||||
url: http://libprs500.kovidgoyal.net
|
||||
|
||||
# The list of modules to document. Modules can be named using
|
||||
# dotted names, module filenames, or package directory names.
|
||||
# This option may be repeated.
|
||||
modules: libprs500, scripts/prs500.py, usb, struct
|
||||
modules: libprs500/*.py, libprs500.lrf, usb, struct
|
||||
|
||||
# Write html output to the directory "apidocs"
|
||||
output: html
|
||||
|
11
prs-500.e4p
11
prs-500.e4p
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE Project SYSTEM "Project-4.0.dtd">
|
||||
<!-- eric4 project file for project prs-500 -->
|
||||
<!-- Saved: 2006-11-29, 11:51:16 -->
|
||||
<!-- Saved: 2006-12-08, 23:24:29 -->
|
||||
<!-- Copyright (C) 2006 Kovid Goyal, kovid@kovidgoyal.net -->
|
||||
<Project version="4.0">
|
||||
<ProgLanguage mixed="0">Python</ProgLanguage>
|
||||
@ -75,6 +75,15 @@
|
||||
<Dir>gui</Dir>
|
||||
<Name>editbook.py</Name>
|
||||
</Source>
|
||||
<Source>
|
||||
<Dir>libprs500</Dir>
|
||||
<Name>books.py</Name>
|
||||
</Source>
|
||||
<Source>
|
||||
<Dir>libprs500</Dir>
|
||||
<Dir>gui</Dir>
|
||||
<Name>widgets.py</Name>
|
||||
</Source>
|
||||
</Sources>
|
||||
<Forms>
|
||||
<Form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user