What is the correct way to set the version of my package with distutils 
when i build it using

python setup.py bdist_rpm

I have __version__="x.x.x" in my main programm but if i add

from <prog> import __version__ 

into setup.py if fails when my prog tries to import gi.repository.

I suspect my approach is totally wrong as I am a newbie when it come to 
packaging 

-- 
May you have many handsome and obedient sons.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to