File: readme

package info (click to toggle)
python-escript 5.6-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144,304 kB
  • sloc: python: 592,074; cpp: 136,909; ansic: 18,675; javascript: 9,411; xml: 3,384; sh: 738; makefile: 207
file content (19 lines) | stat: -rw-r--r-- 1,264 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
Briefly, the files build.sh and bld.bat contain conda build scripts for escript for linux and windows, respectively. The file meta.yaml contains metadata that tells anaconda where to locate source tarballs, code repositories etc. and how the build environment and the run environment should be set up. To build the escript package, run the command

conda-build . -c conda-forge

inside the directory containing these files. This will build escript and then output a *.tar.bz2 file containing the build information in a directory named "conda-bld" in the anaconda install directory. This file may be in a subdirectory named after the host operating system such as "linux-64" or "win-32" etc. Once this is done, to upload this file to the anaconda cloud, first login using

anaconda login

and then type

anaconda upload [path to file]

After the file is uploaded, an end-user can then install/uninstall escript using the commands

conda install -c [username] escript
conda uninstall -c escript

Note that if you are compiling on linux, the build script assumes that gcc, g++, gfortran, svn, etc. and other relevant tools are already installed on your system. Similarly, when building on windows the build script assumes that the microsoft compiler is installed.