Build Rakudo with Distutils

François Perrad francois.perrad at gadz.org
Fri Mar 26 13:36:17 UTC 2010


Find attached a script 'setup.nqp' for building/testing Rakudo.

The library 'disutils' is shipped with Parrot.
See https://trac.parrot.org/parrot/browser/trunk/runtime/parrot/library/distutils.pir

This library removes the dependences with Makefile & various make
utilities, and remove the configure step.
And this library simplifies the job of packager, for example
   $ parrot-nqp setup.nqp bdist --version 2010.99
produces an Windows installer on Windows and a RPM on Linux.
The library 'distutils' is well integrated with Plumage (the Parrot ecosystem).

The classic incantations are :
  $ parrot-nqp setup.nqp update
  $ parrot-nqp setup.nqp clean
  $ parrot-nqp setup.nqp build  # build is the default target
  $ parrot-nqp setup.nqp test # or coretest
  $ parrot-nqp setup.nqp spectest
  $ parrot-nqp setup.nqp spectest_smolder # or smoke

François

(Note: I am not a Rakudo committer)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.nqp
Type: application/octet-stream
Size: 16956 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20100326/e2d36d73/attachment.obj>


More information about the parrot-dev mailing list