Author eric.araujo
Recipients d.amian, eric.araujo, jsjgruber, tarek
Date 2011-11-18.14:30:26
SpamBayes Score 1.56299e-08
Marked as misclassified No
Message-id <1321626627.03.0.197752380943.issue13420@psf.upfronthosting.co.za>
In-reply-to
Content
> I've a project, in the setup.py file, I've a function called update_prefix, that updates the
> 'path_project' variable with prefix arguments from setup.py
> If you runs setup.py with --prefix=/usr, then the file in 'projectname/projectnameconfig.py' is
> modified changing the 'path_project' variable from @PREFIX@+"share/projectname" to
> '/usr/share/projectname'. If you runs setup.py without prefix arguments, the prefix is '/usr/local'.

Did you write a custom 'install' class or are you for example looking at sys.argv to decide whether to run your function?  If it’s not implemented as a distutils command, it’s not surprising that it does not integrate well.

> [...]
> That is cause of the issue, that I explain in the early comment, I fixed it rounding to two decimals
> instead of rounding to integer.

Okay.  Can you make sure that this is the source of the problem, for example by adding time.sleep(1) between build and install?
History
Date User Action Args
2011-11-18 14:30:27eric.araujosetrecipients: + eric.araujo, tarek, jsjgruber, d.amian
2011-11-18 14:30:27eric.araujosetmessageid: <1321626627.03.0.197752380943.issue13420@psf.upfronthosting.co.za>
2011-11-18 14:30:26eric.araujolinkissue13420 messages
2011-11-18 14:30:26eric.araujocreate