Download data/LinuxTGZ/python_obs/README.md from introvoyz045/COPASI: direct link, hf CLI and curl.
- Browser
- Download file 2.95 kB
-
https://huggingface.co/datasets/introvoyz045/COPASI/resolve/main/data/LinuxTGZ/python_obs/README.md
- Command line
-
hf download hf://datasets/introvoyz045/COPASI/data/LinuxTGZ/python_obs/README.md
-
curl -L -o README.md https://huggingface.co/datasets/introvoyz045/COPASI/resolve/main/data/LinuxTGZ/python_obs/README.md
python obs
This directory contains the build scripts for the python-copasi Open Build Service project, that is currently kept here:
https://build.opensuse.org/package/show/home:fbergman:COPASI/python-copasi
Creating a package for python-copasi
32bit Linux
- checkout and build the copasi-dependencies project
- create an archive of the bin directory called
dependencies-32.tar.gz(the contents of the archive should be thebin,lib,includeandsharedirectories i.e. no additional subdirectories.) - build COPASI regularly, configured with python and using the copasi-dependencies project.
- call
createSE.shwith the build dir as argument, in order to create an archivese-32.tar.gz - copy those two archives onto some share, so that you can get onto those files later. Below this will be called the
dependency dir.
64bit Linux
- checkout and build the copasi-dependencies project
- create an archive of the bin directory called
dependencies-64.tar.gz(the contents of the archive should be thebin,lib,includeandsharedirectories i.e. no additional subdirectories.) - build COPASI regularly, configured with python and using the copasi-dependencies project.
- call
createSE.shwith the build dir as argument, in order to create an archivese-64.tar.gz - copy those two archives onto some share, so that you can get onto those files later. Below this will be called the
dependency dir.
creating the source archive
At this point you should be on either the 32 bit or 64 bit machine, with access to the dependency dir that contains the four files:
dependencies-32.tar.gzdependencies-64.tar.gzse-32.tar.gzse-64.tar.gz
now you invoke create-package.sh with four arguments:
- the version to create (defaults to 4.14.92)
- the source dir (defaults to
../COPASI) - the binary dir (defaults to
../package) - the
dependency dir(defaults to/mnt/hgfs/share)
This will produce a file called python-copasi-<VERSION>.tar.gz that is ready to be uploaded to OBS.
Triggering an OBS build
To get the build updated, you now go ahead and log into OBS, at:
https://build.opensuse.org/package/show/home:fbergman:COPASI/python-copasi
and modify as follows:
- upload the
python-copasi-<VERSION>.tar.gzfile - edit the
debian.changelogwith the latest update - edit the
python-copasi.changeswith the latest update - edit the
python-copasi.dscupdating the python-copasi-.tar.gz information as well as theVERSION:field - edit the
python-copasi.specupdating only theVERSION:field
at this point obs should have triggered a full rebuild and the new file will be created. Any errors should be logged in the tracker.