[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/python-gnue-base setup.py images/gnue-spla...
From: |
James Thompson |
Subject: |
gnue/python-gnue-base setup.py images/gnue-spla... |
Date: |
Tue, 06 Mar 2001 22:14:48 -0800 |
CVSROOT: /cvs
Module name: gnue
Changes by: James Thompson <address@hidden> 01/03/06 22:14:47
Modified files:
python-gnue-base: setup.py
Added files:
python-gnue-base/images: gnue-splash.png gnue-splash.xcf
gnue.png gnue.xcf tb_help.png
tb_left_arrow.png tb_new.png
tb_preferences.png tb_right_arrow.png
tb_save.png tb_search.png tb_trash.png
tb_undo.png
Log message:
Moving images into here from gnuef
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/setup.py.diff?r1=1.1&r2=1.2
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/gnue-splash.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/gnue-splash.xcf.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/gnue.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/gnue.xcf.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_help.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_left_arrow.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_new.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_preferences.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_right_arrow.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_save.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_search.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_trash.png.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/python-gnue-base/images/tb_undo.png.diff?r1=NONE&r2=1.1
Patches:
Index: gnue/python-gnue-base/setup.py
diff -u gnue/python-gnue-base/setup.py:1.1 gnue/python-gnue-base/setup.py:1.2
--- gnue/python-gnue-base/setup.py:1.1 Mon Nov 20 21:29:48 2000
+++ gnue/python-gnue-base/setup.py Tue Mar 6 22:14:46 2001
@@ -1,14 +1,43 @@
#!/usr/bin/env python
+import sys
+import string
+import os.path
-from distutils.core import setup
+try:
+ from distutils.core import setup
+ from setupext import Data_Files, install_Data_Files
+except ImportError:
+ print """
+Setup requires that python's distutils be
+installed. You can get a copy of it from
+http://www.python.org/sigs/distutils-sig/
+ """
+ sys.exit()
+
+imagefiles="""
+ recursive-include images *.png
+"""
+
+images = [
+ Data_Files(
+ copy_to =
os.path.splitdrive(sys.prefix)[0]+'/usr/local/gnue/shared',
+ template = string.split(imagefiles,"\n"),
+ preserve_path = 1)
+ ]
+
setup (name = "python-gnue-base",
- version = "0.0.1",
+ version = "0.0.2",
description = "GNUE base python scripts",
long_description = "",
author = "Jade Meskill",
author_email = "address@hidden",
url = "http://www.gnue.org",
+ # Override certain command classes with our own ones
+ cmdclass = {'install_data':install_Data_Files},
+
+ data_files = images,
+
packages = ["gnue"],
package_dir = {"gnue" : "gnue"},
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/python-gnue-base setup.py images/gnue-spla...,
James Thompson <=