-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Felix Hellman edited this page Jun 19, 2021
·
3 revisions
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
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
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
pip3 install git+https://github.com/felix-hellman/gop.git --user
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"