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

Forum statistics

Threads
474,262
Messages
2,571,045
Members
48,769
Latest member
Clifft

Latest Threads

Top