File: INSTALL

package info (click to toggle)
isospec 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,476 kB
  • sloc: cpp: 9,530; python: 2,095; makefile: 180; ansic: 100; sh: 88
file content (67 lines) | stat: -rw-r--r-- 1,846 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
-------------------------------------------
Building and installing the C/C++ library

Requirements:
   A C++17 compiler
   Make (GNU make is OK)


Next, execute the following commands:

cd src/IsoSpec++
make

You may copy the resulting .so file to a convenient location.
If you wish to develop software using this library, you will also
have to place the header files (*.hpp/*.h) somewhere your C/C++
compiler can find them.

------------------------------------------
Building and installing the Python package

IMPORTANT: please note that the Python package is standalone, in the
sense that it does not need the C/C++ library to be installed separately.

IsoSpecPy is compatible with both CPython and PyPy, running on Unix,
Cygwin or in MinGW environment.

The preferred method of installation is by using the pip package manager.
In order to do that, simply issue the following command, replacing
"<python>" with your Python executable (python/python3/pypy/...)

<python> -m pip install IsoSpecPy

If, instead, you wish to install the package manually, follow these
instructions:

Requirements:
    Python (obviously)
    C++17 compiler

Execute the following commands:
pip install .

------------------------------------------
Building and installing the R package

The preferred installation method is to use the CRAN package installer.
To do that, simply issue the command:

install.packages('IsoSpecR')

in your R session. However it is possible to install the package manually,
from source, by following these instructions:

Requirements:
	R (>= 3.2.1)
	Rcpp package from CRAN
	C++11 compiler, clang++ (v3.3 or later) or g++ (v4.7 or later)

Move to the folder containing the IsoSpecR folder. Then run in terminal:

   cd src
	R CMD build IsoSpecR
	R CMD INSTALL IsoSpecR_*.tar.gz

All necessary packages should download automatically.