Re: [pygccxml-development] Installing from cvs doesn't work
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <ba...@ir...> - 2006-04-11 07:20:49
|
Roman Yakovenko wrote: >>> May be. I don't think/expect user/programmer to run >>> setup_pyplusplus.py directly. >>> I think he should run release_manager/release_builder.py and then to >>> run setup.py >>> from pyplusplusXXX directory. >>> >>> Is this wrong approach? >> Well, in my opinion it is. ;) The main reason is that it is >> non-standard. The standard way of dealing with an extension package is >> by using the distutils. This includes not only building and installing >> the package but also creating a source or binary distribution (see the >> "sdist" and "bdist_*" commands (setup.py --help-commands)). >> Some other reasons are that it takes much longer and is inconvenient >> when I just want to update the sources and apply those updates. > > Are you able to build something similar to release manager with distutils? > If so, can you spend some time and implement this. I will be glad to drop > the usage of release manager. ok, I'll give it a try... Where do you want to keep the version number? Did you just put it into __init__.py so that it is available somewhere during creating the distribution or is this also meant as a way for the user to determine the version at runtime? Maybe the documentation should be packaged separately. It would be ok to add them to the sources but I'm not aware that there is a standard location to install them. - Matthias - |