Blender package manager add-on
This repository has been archived on 2023-02-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Ellwood Zwovic ee0bbca8e5 Move package manager to blender branch
Moved the package manger out of an addon. It now lives here:

This repository still contains the repo generation script, the readme
has been updated to reflect this.
2017-08-29 04:30:49 -07:00
tests Move package manager to blender branch 2017-08-29 04:30:49 -07:00
.gitignore Add pytest .cache dirs to gitignore 2017-07-14 16:13:30 -07:00 Move package manager to blender branch 2017-08-29 04:30:49 -07:00
generate_repository Cleanup: rename repo generation script 2017-07-20 23:03:45 -07:00 Add test runner script 2017-06-23 20:05:55 -07:00

Repository generator for the blender package manager

For the package manager itself, see the soc-2017-package_manager branch here:

This repository contains a script (generate_repository) for generating repositories of blender packages. Example usage:

./generate_repository /path/to/packages --baseurl 'http://localhost/'

This will produce a repo.json file in the current directory, which can then be copied to the server. The baseurl is prepended to the filename of each package to form the package's url (so for example, http://localhost/

For an explanation of the other options see generate_repository --help:

usage: generate_repository [-h] [-v] [-u BASEURL] [-n NAME] [-o OUTPUT] path

Generate a blender package repository from a directory of addons

positional arguments:
  path                  Path to addon directory

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Increase verbosity (can be used multiple times)
  -u BASEURL, --baseurl BASEURL
								Component of URL leading up to the package filename.
  -n NAME, --name NAME  Name of repo (defaults to basename of 'path')
  -o OUTPUT, --output OUTPUT
								Directory in which to write repo.json file