Commit 265e3820 authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles

package management in progress

parent 383b6699
......@@ -6,6 +6,10 @@
#qmake
*.user
#py stuffs
dist
*egg-info*
# tilda
*~
......
2.0.0 (dev)
------------
- new API for reading/writing in float and double
- gadget HDF5 support
* Fri Jun 01 2018 - 1.2.0
- new API for reading/writing in float and double
- gadget HDF5 support
- new install method
1.1.0 (February 2015)
-----------------------
- Ramses: 2D support
- from sqlite3db simname%200 load snapshot 200
- improve compilation on MacOSX
- fix Ramses list reading bug
* Mon Feb 02 2015 - 1.1.0
- Ramses: 2D support
- from sqlite3db simname%200 load snapshot 200
- improve compilation on MacOSX
- fix Ramses list reading bug
1.0.1 (June, 19th 2014)
----------------------------
- Bugs fix release
- Ramses:reading works with py_unsio
- Ramses:output_XXXXX as input file works
- fix py_unsio on macosx for NEMO reading (see wiki)
* Fri Jun 06 2014 - 1.0.1
- Bugs fix release
- Ramses:reading works with py_unsio
- Ramses:output_XXXXX as input file works
- fix py_unsio on macosx for NEMO reading (see wiki)
1.0.0 (April, 2014)
----------------------------
- Major Release
- Python wrapper
- Improved MAC OSX installation
- Nemo : support mulitple snapshots with different numbers of particles
- Sqlite3DB : sqlite3 database improved
* Tue Apr 15 2014 - 1.0.0
- Major Release
- Python wrapper
- Improved MAC OSX installation
- Nemo : support mulitple snapshots with different numbers of particles
- Sqlite3DB : sqlite3 database improved
......@@ -102,3 +102,13 @@ export DYLD_LIBRARY_PATH=_UNSIOPATH_/lib
where _UNSIOPATH_ matches to UNSIO installed location path
VI) Packaging
=============
To build a package (RPM, deb, etc....) use the following command :
cd build
cmake .. -DCMAKE_INSTALL_PREFIX="/usr"
make package
......@@ -80,3 +80,16 @@ _UNSIOPATH_ must match the asbolute path of UNSIO installed directory
A list of all available make targets can be obtained by
make help
*) PACKAGING
=========
To creata an installable package (RPM, deb, etc...) use the following command :
1) python2 packaging
SRCPATH=`pwd`/../src python setup.py bdist_rpm
2) python3 packaging
SRCPATH=`pwd`/../src python3 setup.py bdist_rpm
Both packages will be located in 'dist' directory
......@@ -25,13 +25,11 @@ BEGIN
$path =~ s/${exe}//g; # dirname
push @INC, "$path/../scripts/perl/lib", "$path/../lib"; # add path to locate modules
}
# load package
use strict; # must define everything
use Getopt::Long;
use Tools::Sqlite3;
# -------------------------------------------------------------
# Main program
# get exe basename
......
......@@ -55,10 +55,14 @@
#include <string>
#include "snapshotinterface.h"
#include <map>
#include "version.h"
namespace uns {
const std::string VERSION="1.2.1.January-18th-2018"; // UNSIO version
const std::string VERSION=std::string(UNSIO_MAJOR)+"."+
std::string(UNSIO_MINOR)+"."+
std::string(UNSIO_PATCH)+
std::string(UNSIO_EXTRA); // UNSIO version
inline std::string getVersion() { return uns::VERSION; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment