Re: [patch] gnue-appserver/setup.py
kilo <[email protected]> Fri, 28 Mar 2008 12:02:14 +0100
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Aaron thanks for the hint, I've committed a solution (rev 9868) based on your idea. kilo On Thu, Mar 27, 2008 at 3:41 PM, Aaron S. Hawley <[email protected]> wrote: > Splitting hairs here, but the following patch to setup.py for > gnue-appserver 0.5.2 keeps DOS files off my GNU/Linux machine. I > followed the platform conditional statement introduced on line 62 of > the same setup.py file. > > Index: setup.py > =================================================================== > --- setup.py (revision 9864) > +++ setup.py (working copy) > @@ -81,7 +81,22 @@ > "doc/gld.dtd", > "doc/api/api.txt", > "doc/devguide/devguide.txt"] > - samplefiles = self.allfiles ("samples") > + samplefiles = ["samples/auth.gcd", > + "samples/auth.gsd", > + "samples/gnue_useraccess.gfd", > + "samples/README", > + "samples/sample-C.gld", > + "samples/sample-de.gld", > + "samples/sample.gcd", > + "samples/sample.gfd", > + "samples/sample.gpd", > + "samples/sample.grd", > + "samples/sample.gsd"] > + > + if sys.platform == 'win32': > + samplefiles += ["samples/setup-db.bat"] > + else: > + samplefiles += ["samples/setup-db.sh"] > > params ["data_files"] = \ > [("share/gnue/appserver", datafiles), > > _______________________________________________ > Gnue-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnue-dev > >