Download Latest Version Gib-0.2.3-src.tar.gz (212.5 kB)
Email in envelope

Get an email when there's a new version of Gib

Home / src
Name Modified Size InfoDownloads / Week
Parent folder
Gib-0.2.3-src.tar.gz 2021-06-06 212.5 kB
README.md 2021-05-24 1.9 kB
Gib-0.2.2-src.tar.gz 2021-05-24 157.7 kB
gib-0.1.0-src.zip 2020-12-28 5.2 kB
Totals: 4 Items   377.4 kB 0

Gib Is the Best agnostic package manager extender

Gib is a Package Manager extender. It allows you to install multiple packages at once by specifying a 'giblet'. You can think of it as installing a suite of packages at once, instead of having to remember them and type them all out.

Installation

Building from source

Prerequisites

Python 3 (tested on Python 3.8.6, 3.9.1, 3.9.5)

Cython pip install Cython or Pyinstaller pip install pyinstaller

Cython provides a smaller binary, and is slightly faster, whereas Pyinstaller is more convenient, but provides a ~35x larger binary.

Building & Installing

Clone the git repo and cd into the new directory git clone git clone https://git.code.sf.net/p/gib-pkg/git gib && cd gib

Cython (reccomended)

Prepare Gib for building with Cython python3 setup.py This script shoves all the code for Gib into one gib.pyx file, and then uses cython gib.pyx -3 --embed to generate gib.c

Build gcc gib.c -I<pythonIncludeDir> -L<libpythonDir> -l<nameOfLibpythonWithout'lib'> -o gib

Here is the command we use on Linux-x86_64 (Manjaro) as an example: gcc gib.c -I/usr/include/python3.9 -L/usr/lib/python3.9 -lpython3.9 -o gib

Move the resulting binary to /usr/local/bin sudo mv gib /usr/local/bin

Pyinstaller

Build pyinstaller gib.spec

Move the resulting binary to /usr/local/bin sudo mv ./dist/gib /usr/local/bin

Contribute

You can either write new code directly into gib.py, or into a new .py file, as you see fit. When you are done with debugging your code to the best of your ability, make a pull request to the master branch. If you do use a seperate .py file, remember to import it in gib.py and the gib.spec file. If you add new commands, remember to add it to the help.sh file.

Source: README.md, updated 2021-05-24