2013/3/31 jerome <romjerome@yahoo.fr>
Yes, it works, it is copied too[1],

$ sudo update-python-modules -v python-gramps.public

link /usr/lib/pymodules/python2.7/gramps-4.0.0alpha5.egg-info
overwrite /usr/lib/pymodules/python2.7/gramps-4.0.0alpha5.egg-info
link /usr/lib/pymodules/python2.7/gramps/__init__.py
overwrite /usr/lib/pymodules/python2.7/gramps/__init__.py
link /usr/lib/pymodules/python2.7/gramps/cli/__init__.py
...
link /usr/lib/pymodules/python2.7/gramps/gen/utils/resource-path
overwrite /usr/lib/pymodules/python2.7/gramps/gen/utils/resource-path
...
link /usr/lib/pymodules/python2.7/gramps/version.py
overwrite /usr/lib/pymodules/python2.7/gramps/version.py
Generation of /usr/lib/pymodules/python2.7/.path...
Byte-compilation of whole /usr/lib/pymodules/python2.7...

OK, people who want to provide Gramps 4.0 for Ubuntu 13.04, for apt environment, for Debian, etc ... can try the experimental .deb and run gramps via:

$ GRAMPS_RESOURCES=/usr/share PYTHONPATH=/usr/local/lib/python2.7/site-packages/ /usr/bin/gramps

but this cannot be used by end user!

Do you think that I should let the 'resource-path' file with my path into .deb and to modify the launcher via export?

Or to you think that we should have a more flexible custom 'bdist_deb.py'[2] module in relation with debian folder?

Perhaps write James Taylor directory and ask him about this?

Benny


[1] http://gramps-project.org/wiki/index.php?title=Talk:Debian
[2] https://github.com/astraw/stdeb/tree/master/stdeb/command


Jérôme.

--- En date de : Sam 30.3.13, Nick Hall <nick__hall@hotmail.com> a écrit :

> De: Nick Hall <nick__hall@hotmail.com>
> Objet: Re: [Gramps-devel] Hallo I can´t run gramps
> À: "jerome" <romjerome@yahoo.fr>
> Cc: gramps-devel@lists.sourceforge.net
> Date: Samedi 30 mars 2013, 23h13
> On 30/03/13 18:32, jerome wrote:
> > This will lead to one new problem!
> >
> > As far I can see, 'gramps' application will be
> installed under '/usr/share/pyshared'!
>
> It doesn't matter where you install the modules or the
> resources.
>
> The file resource-path needs to exist to let Gramps know it
> is running from an installed copy.  It also needs to
> know where to find its resources.  You can do this by
> either using the resource-path file or the GRAMPS_RESOURCES
> environment variable.
>
> Nick.
>
>

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Gramps-devel mailing list
Gramps-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-devel