Re: Changing default key

david.evans-I9fZos/[email protected]
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
Hi,

You points are correct, in my very limited experience.
What I personally do on my workstation is install pybliographic from
source in my home directory. This involves running configure and
make. See the README in the source distribution. Then after any
changes to the source files, I just recompile (make). You can link
the binaries to somewhere on your path, or set an alias.

This is easy enough, but a bit rough-and-ready, and not very sensible
if you were maintaining a proper multi-user system. So it would be
nice if you could do a system-wide install in /usr/local/, leave this
unmodified, but somehow link in user-defined functions from python
code in your home directory.
A few other people have been asking about this on the list.
Can the developers say how to do this? It's probably obvious to a
proper Python expert, but I'm not one of those.

Thank you

Dave


---- Message from Helder Gomes da Silva <[email protected]> at
2004-11-18 09:36:44 ------
>Hello everybody,
>
>First of all, congratulations to the pybliographic team for this
project.
>
>I had started using pybliographic some days ago. For me will very 
>important to change the default key generation made by the software.
>
>I decided to search the mailing archive and I found a thread started
by 
>Vitaly V. Ganusov concerning this subject.
>
>Some other people had already answered some topics, but as I don't
know 
>anything about the python language, I have some doubts regarding the 
>changed that are requested to create a new type of key.
>
>I understood that:
>
>1. We define a new type of entry code in 
>/usr/share/pybliographer/Pyblio/Utils.py including the statement 
>Autoload.register ("key", "MyKey", generate_my_key)
>
>2. After this, we need to run pybliographic in order to change the 
>desired new key under the preference menu.
>
>As I know, python is a scripting language (please correct me if I am 
>wrong) but I saw some .py.c and .py.o files. It is necessary to
perform 
>some kind of compilation onder Utils.py after changes?
>
>I would greatly appreciate your comments regarding this issue.
>
>Thank you very much
>
>Helder
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: InterSystems CACHE
>FREE OODBMS DOWNLOAD - A multidimensional database that combines
>robust object and relational technologies, making it a perfect match
>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>_______________________________________________
>Pybliographer-general mailing list
>Pybliographer-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/pybliographer-general


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.