csound-package-manager /

Filename Size Date modified Message
26 B
376 B
426 B
17.6 KB
1.1 KB
401 B
47 B
54 B
14.6 KB
608 B
Csound Package Manager

Author: Steven Yi

The Csound Package Manager (also called cspm) is a python script for package management. cspm has tools for installing packages from a repository, searching for packages, as well as tools to help build packages.

CSPM is developed using only standard Python libraries.

* Python 2.5+
* sqlite3
* xml or json


For developers, there is a testdata.sql file that can be useful for populating the sqlite3 database with mock data.  To use, type in this command: ::

    sqlite3 ~/.cspm/cspm.db < testdata.sql

Please be sure to use the cspm.py script at least once to initialize the ~/.cspm folder before using the above command.


* install
** place temporary packages in CACHE_FOLDER + server_name or some other value
** handle resolve dependencies
** check if package already installed
** handle errors more gracefully
** give user prompts (confirm after computing dependencies)
* update
** need to merge update list with what is in db
** handle what to do if a package is installed but removed from server
** check if separate installed table necessary

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.