Skip to content
Felix Hellman edited this page Jun 19, 2021 · 3 revisions

Gop WIKI

Package structure

Gop packages work assuming the following structure, this mostly has to do with Godot being very path dependent, e.g. class_name requires the correct path

pkg:
  username/dependency:
    awesome_code.gd

Install public versioned dependencies

Installing packages with gop is pretty simple and requires no log in.

gop init
gop add --dependency=felix-hellman/awesome --version=0.0.1
gop install

Install private non-versioned dependencies (from github)

Installing private packages requires you to be logged and with additional scope

gop login --repo

Private dependencies are non-versioned and are defined as

project:
  dependencies:
  - name: username/repository
    access: "private"
  repository:
  - path: https://gop.shrimpray.com

Installation

pip3 install git+https://github.com/felix-hellman/gop.git --user

When gop is not on path

Go to where pip has installed gop using gitbash and adding it to your path, This is just a temporary solution and will not work in other terminal windows

cd `pip3 show gop | grep Location | awk '{print $2}'` && cd .. && cd Scripts/
PATH="`pwd`:$PATH"
Clone this wiki locally