Home > Archive > PERL Modules > August 2005 > CPAN, packaging tools, META.yml
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
CPAN, packaging tools, META.yml
|
|
| Al Nikolov 2005-08-17, 9:05 am |
| Hi, there
I used h2xs to package my module, but now as i see that's not a very good
practice. For instance, `make dist` produces META.yml: with no license
record. (Also i wondering why Carp and CGI modules used in my module don't
counted in 'requires' record...)
I'm i right? Is there any other (configurable) tools useful for packaging
modules for CPAN?
--
Regards,
Al Nikolov
JID: alnikolov@jabber.ru
IRC: clown
| |
| Slaven Rezic 2005-08-17, 9:59 pm |
| Al Nikolov <al@iac.spb.ru> writes:
> Hi, there
>
> I used h2xs to package my module,
h2xs is not a packaging tool. It's a helper for initial module and
distribution creation, probably interfacing a C library (hence the
name).
> but now as i see that's not a very good
> practice. For instance, `make dist` produces META.yml: with no license
> record.
You can take care of META.yml yourself, just put NO_META => 1 into
your Makefile.PL.
> (Also i wondering why Carp and CGI modules used in my module don't
> counted in 'requires' record...)
Strictly speaking, CGI and Carp do not need to be listed as a
PREREQ_PM (or requires), as these modules are included in every recent
perl5 standard distribution. That speaking, the existence of minimal
perl distributions is possible, so mentioning them does not hurt.
Usually you're yourself responsible to fill the dependency fields.
There are helper modules to get the list of dependencies, e.g.
Module::Dependency.
> I'm i right? Is there any other (configurable) tools useful for packaging
> modules for CPAN?
>
Probably. Look into the Module:: hierarchy.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
Dump a Tk canvas as an xfig file:
http://search.cpan.org/search?mode=...y=Tk::CanvasFig
|
|
|
|
|