[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnue-common setup.py setup.cfg
From: |
Jason Cater |
Subject: |
gnue/gnue-common setup.py setup.cfg |
Date: |
Wed, 30 May 2001 10:56:27 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 01/05/30 10:56:27
Modified files:
gnue-common : setup.py
Added files:
gnue-common : setup.cfg
Log message:
Modified setup.py so it installs python files in /usr/local/gnue. (this
is settable by end-user by modifying setup.cfg or specifying --prefix on the
command line).
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/setup.cfg?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/setup.py.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text
Patches:
Index: gnue/gnue-common/setup.py
diff -u gnue/gnue-common/setup.py:1.5 gnue/gnue-common/setup.py:1.6
--- gnue/gnue-common/setup.py:1.5 Thu May 10 11:58:12 2001
+++ gnue/gnue-common/setup.py Wed May 30 10:56:27 2001
@@ -1,33 +1,31 @@
#!/usr/bin/env python
-
-#####################################################################
+#
+# Copyright 2001 Free Software Foundation
+#
+# This file is part of GNU Enterprise.
#
-# This file is part of GNU Enterprise.
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or (at your option) any later version.
#
-# GNU Enterprise is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2, or
-# (at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place -
-# Suite 330, Boston, MA 02111-1307, USA.
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
#
-#####################################################################
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
import sys
import string
-import os.path
try:
from distutils.core import setup
- from setupext import Data_Files, install_Data_Files
+ from setupext import Data_Files, install_Data_Files
except ImportError:
print """
Setup requires that python's distutils be
@@ -36,27 +34,32 @@
"""
sys.exit()
-imagefiles="""
- recursive-include images *.png
-"""
-etcfiles="""
- recursive-include etc *
-"""
dfiles = [
+ Data_Files(
+ base_dir = 'install_data',
+ copy_to = 'shared',
+ template = ['recursive-include images *.png',
+ 'prune images/CVS'],
+ preserve_path = 1),
Data_Files(
- copy_to =
os.path.splitdrive(sys.prefix)[0]+'/usr/local/gnue/shared',
- template = string.split(imagefiles,"\n"),
+ base_dir = 'install_data',
+ copy_to = '',
+ template = ['recursive-include etc *',
+ 'prune etc/CVS'],
preserve_path = 1),
Data_Files(
- copy_to = os.path.splitdrive(sys.prefix)[0]+'/usr/local/gnue',
- template = string.split(etcfiles,"\n"),
+ base_dir = 'install_data',
+ copy_to = 'doc/common',
+ template = ['recursive-include doc *',
+ 'prune doc/CVS'],
+ strip_dirs = 1, # This is a number, not true/false
preserve_path = 1)
]
-setup (name = "gnue-common",
+setup (name = "GNUe-Common",
version = "0.0.1",
- description = "Base files of a GNUE install",
+ description = "Base files of a GNU Enterprise Tools install",
long_description = "",
author = "GNUe Project",
author_email = "address@hidden",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/gnue-common setup.py setup.cfg,
Jason Cater <=