1. Euphoria Library Manifest
- Posted by Tommy Carlier <tommy.carlier at pandora.be> Jul 14, 2004
- 532 views
My little conflict with Kat (no hard feelings, OK?) about including or not including 3rd party-libraries with your programs/libraries, gave me an idea: the Euphoria Library Manifest. When you create a program or library that needs 3rd party-libraries that are not included, you should include a text-file in your ZIP-file: elm.txt: --- START FILE --- Euphoria Library Manifest These libraries are necessary, but not included in the package: - Win32Lib (Derek Parnell), version 0.60.1: http://www.users.bigpond.com/ddparnell/euphoria/euphoria.htm - EuControls (Tommy Carlier), version 1.0.1: http://users.pandora.be/tommycarlier/eu --- END FILE --- If everybody uses this mechanism, people will have less problems finding all the necessary components. The lines that describe the necessary libraries, look like this: - Name (Author), version x.y: url (version should be the version the product was developed/tested with) If a "format" like this is used, perhaps even automated processing would be possible. -- tommy online: http://users.pandora.be/tommycarlier Euphoria Message Board: http://uboard.proboards32.com
2. Re: Euphoria Library Manifest
- Posted by "Unkmar" <L3Euphoria at bellsouth.net> Jul 14, 2004
- 513 views
No freaking.. Um. <belch/> <bold>Duh.</bold> That's like, Common sense. But does anyone do it? Yeah, maybe 1 or 2 people. <belch/> People should use their. Umm. brains and.. well. Think... You know what I mean? Ok, ok. Enough of my valley girl redneck whatever that was. Of course people should be putting little readmes or something. requirements.txt -- You gotta have win32lib version xyz. -- You gotta have Mannies blarb lib version Only one made. Yeah, so I'm making things up a little. The point is that it only makes sense that if your contribution depends on another contribution that you should explicitly state that it requires it and where to get it. Also, My point is that very few if any actually do what makes sense. So, People, wake up and do what makes sense. especially when it is very little work to do it. You didn't write the other stuff but you could at least tell us that we need it and where to get it. unkmar Don't call me raving lunatic. I'm sure someone else claims that title. ----- Original Message ----- From: "Tommy Carlier" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Wednesday, July 14, 2004 1:55 PM Subject: Euphoria Library Manifest > > > posted by: Tommy Carlier <tommy.carlier at pandora.be> > > My little conflict with Kat (no hard feelings, OK?) about including or not including 3rd party-libraries with your programs/libraries, gave me an idea: the Euphoria Library Manifest. > > When you create a program or library that needs 3rd party-libraries that are not included, you should include a text-file in your ZIP-file: > elm.txt: > --- START FILE --- > Euphoria Library Manifest > These libraries are necessary, but not included in the package: > - Win32Lib (Derek Parnell), version 0.60.1: http://www.users.bigpond.com/ddparnell/euphoria/euphoria.htm > - EuControls (Tommy Carlier), version 1.0.1: http://users.pandora.be/tommycarlier/eu > --- END FILE --- > > If everybody uses this mechanism, people will have less problems finding all the necessary components. > The lines that describe the necessary libraries, look like this: > - Name (Author), version x.y: url > (version should be the version the product was developed/tested with) > If a "format" like this is used, perhaps even automated processing would be possible. > > -- > tommy online: http://users.pandora.be/tommycarlier > Euphoria Message Board: http://uboard.proboards32.com > > > >
3. Re: Euphoria Library Manifest
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 15, 2004
- 538 views
On Wed, 14 Jul 2004 10:55:27 -0700, Tommy Carlier <guest at RapidEuphoria.com> wrote: >When you create a program or library that needs 3rd party-libraries that are >not included, you should include a text-file in your ZIP-file: >elm.txt: I don't see the need for a separate file. People should just use common sense and courtesy (although I tend to bundle everything), by beginning the main source of their application with eg: include win32lib.ew if compare(Win32LibVersion[1..3],{0,60,0})=-1 then puts(1,"version 0.60.0 or later of win32lib is required") -- from http://www.users.bigpond.com/ddparnell/euphoria/euphoria.htm abort(1) end if or, something like if routine_id("get_series")=-1 might suffice, if the library does not have an explicit version constant, which of course it should. I just think that would be a better standard to adopt. Regards, Pete PS It has always seemed the trivial files (eg print.e, print.ew, sprint.e, bget.e...) cause me problems, not the big ones. The ones that people forget, not the ones you can't miss.