OK, I went `touch META.yml` into being and then `make dist` ran without errors and produced the intended results. This brings up an entirely new set of questions related to reframing my existing work inside of the PBP guidelines which make this sort of packaging possible. But I guess that deserves its own thread, and perhaps some time contemplating those questions in the midst of simply trying to do it for a while.
And to answer Joost's question:
"Are you using ExtUtils::MakeMaker or using Module::Build?"
Thanks for the lead!$ module-starter --module=Module::BuildDistro $ cd Module-BuildDistro/ $ perl Makefile.PL $ make dist # <---- this throws erros $ touch META.yml $ make dist # <---- succeeds!
And now for the original message, already in progress.
---------
Perhaps so. I had suspected that someone had needed one of these before I wrote this this morning. So I used Module::Starter::PBP to create a framework from which I could build a module for Module::BuildDistro. Just as an experiment.
Here is the error I got when I tried that make dist trick you suggested.
So now I'm wondering how it is I generate one of these META.yml files this seems dependent on. Any ideas? Reading the MANIFEST says that Module::Starter expected that file to be created by make dist.hesco@testbed:~/sb/Module-BuildDistro$ make dist rm -rf Module-BuildDistro-v0.0.3 /usr/bin/perl "-MExtUtils::Manifest=manicopy,maniread" \ -e "manicopy(maniread(),'Module-BuildDistro-v0.0.3', 'best');" mkdir Module-BuildDistro-v0.0.3 -e: META.yml not found at -e line 1 Can't read META.yml: No such file or directory make: *** [create_distdir] Error 2
Reading the perldoc for ExtUtils::Manifest allows me to answer your question: "No, my implementation skips any file not explicitly included in the MANIFEST. While ExtUtils::Manifest excludes only those files explicity listed in the MANIFEST.SKIP file." But other than that, yes, I think this might work for me, just as well, as soon as I work out this META.yml issue.
Thanks for the lead.
-- Hugh
In reply to Re^2: Building a package for distribution: How do the pros do it?
by hesco
in thread Building a package for distribution: How do the pros do it?
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |