Re: [Python-cgns-main] Python-bindings for CGNS library : minor changes
Status: Alpha
Brought to you by:
boroli
From: Oliver B. <oli...@we...> - 2011-03-04 17:23:44
|
Hello Lionel, 1) I don't mind, but I do not want to increase the version number for every small change. That's why I have used the release dates as version number. The version number is also only of interest if we packing a source tarball. 2) I don't mind. Just change it in the git. 3) I have no idea about rpm's, but for debian packages and gentoo ebuilds the LICENSE file will not be installed in /usr/share/doc/. I do not know the policies in rpm based distributions, maybe they are also different. So if you will need this file in your binary rpm, then I would suggest to install this via your spec file. 4) No unfortunately I have had not yet any time to do this. Did you tested this bindings also with the new versions (2.5-5 and 3.1) of the libcgns, which were recently published? Oliver Am 03.03.2011 11:57, schrieb Lionel Gamet: > Dear Oliver > > I've just found some time to have a look at the git deposit at > sourceforge. > > I've been able to download the files on my machine and recompile rpms > for RHEL5. I would have a few remarks about the latest modifications > you made on the project : > > 1) About the version name. I don't know many applications having the > date as a version number. Wouldn't you like to set the version number > to a numbered version like "0.3" (I changed it to 0.2 before) instead > of '2011.02.09' ? > > 2) Concerning the installation directory in /usr/share/doc, I would > prefer > if we could call it "python-cgns" instead of "pythoncgns". This is to be > coherent with all other products that you can find there. They are all > called "python-something". > > 3) Concerning the license file named LICENSE, I would like to have it > deployed in the installed directories. This is necessary when you build > binary packages like rpms. An end user will just install the binary rpm > and he thus needs to have the LICENSE file in the install somewhere. > > As a conclusion, I would propose the following modifications : > > diff -r python-cgns/setup.py python-cgns-0.3/setup.py > 32c32 > < Version = '2011.02.09' > --- > > Version = '0.3' > 49c49,50 > < data_files = [('share/doc/pythoncgns-'+Version+'/examples', > ['tutorial/boite_CGNSADF.pgeo', > --- > > data_files = [('share/doc/python-cgns-'+Version+'/', > ['LICENSE']), > > ('share/doc/python-cgns-'+Version+'/examples', > ['tutorial/boite_CGNSADF.pgeo', > > > > Last point : did you manage to use the package on your system ? > As I said in a former email, you need to run the different commands > in the %build section of the spec file to compile the application. > > Best regards, > > Lionel > > > > |