setup.py

A

alister ware

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top