[Pharo-users] need help loading third-party packages

Sean P. DeNigris sean at clipperadams.com
Tue Jun 5 14:15:57 EDT 2018


Gregg Williams wrote
> I want to load third-party packages and read their source code. What's the
> best way to do 

In general, the best way is via Metacello, Pharo's dependency manager. This
will automatically load the required packages, avoiding the errors you
encountered. Metacello provides BaselineOfAbc and ConfigurationOfXyz
classes, and can be accessed a few ways:

1. A simple way for beginners and exploration is, as mentioned, the Catalog,
which is a UI for ConfigurationOfXyz classes in known remote repos. 

2. For programmatic loading, the preferred method is the Metacello Scripting
API, IOW a script like this:
```
Metacello new
  baseline: 'Calypso';
  repository: 'github://dionisiydk/Calypso';
  load
```

3. For completion, one can also send messages directly to BaselineOfAbc and
ConfigurationOfXyz classes, but this is low level and usually not required.



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



More information about the Pharo-users mailing list