[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUe-dev] [patch] gnue-appserver/setup.py
From: |
Aaron S. Hawley |
Subject: |
[GNUe-dev] [patch] gnue-appserver/setup.py |
Date: |
Thu, 27 Mar 2008 10:41:03 -0400 |
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),
setup.py.diff
Description: Text Data
- [GNUe-dev] [patch] gnue-appserver/setup.py,
Aaron S. Hawley <=