Hello everyone!

I have just started to use cx_freeze and created a rpm distribution
package of my project. However, I find it impossible to locate
(without hardcoding the base path to '/usr/lib/PROJECT' where all the
project files are deployed to) the manually included files.
Side note: I convert the rpm package to a deb one with alien so that
it can be installed in Ubuntu, but files end in exactly the same
place.

I tried the proposed code snippet [1] in the documentation for this
scenario, but it only gives the relative path to where the file should
be, but the working dir (os.getcwd()) is set to the user home and it
should be '/usr/lib/PROJECT' so that it can find those files.

Any ideas on how to get access to those files in an elegant way?

Thanks
Santiago

[1] http://cx_freeze.readthedocs.org/en/latest/overview.html#using-data-files

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to