Update of /cvsroot/freevo/freevo
In directory sc8-pr-cvs1:/tmp/cvs-serv12768
Modified Files:
setup.py
Log Message:
add i18n support and cleanup
Index: setup.py
===================================================================
RCS file: /cvsroot/freevo/freevo/setup.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** setup.py 1 Nov 2003 15:20:38 -0000 1.10
--- setup.py 5 Nov 2003 19:17:15 -0000 1.11
***************
*** 4,27 ****
- # This is the first version of a real python setup script to install
- # Freevo directly into the system. This script can't be used with
- # the runtime, because the runtime contains it's own python.
-
-
__revision__ = "$Id$"
from distutils.core import setup, Extension
- import distutils.command.install
import os
import sys
sys.path.append('./src')
import version
! import util.distutils
! util.distutils.check_libs((('mmpython', 'http://www.sf.net/projects/mmpython' ),
! ('pygame', 'http://www.pygame.org'),
! ('Image', 'http://www.pythonware.com/products/pil/'),
! ('twisted', 'http://www.twistedmatrix.com/')))
--- 4,23 ----
__revision__ = "$Id$"
+ # Python distutils stuff
from distutils.core import setup, Extension
import os
import sys
+ # Freevo distutils stuff
sys.path.append('./src')
import version
! from util.distutils import *
! check_libs((('mmpython', 'http://www.sf.net/projects/mmpython' ),
! ('pygame', 'http://www.pygame.org'),
! ('Image', 'http://www.pythonware.com/products/pil/'),
! ('twisted', 'http://www.twistedmatrix.com/')))
***************
*** 32,37 ****
sys.exit(0)
! data_files = util.distutils.data_files
!
for f in ('BUGS', 'COPYING', 'ChangeLog', 'INSTALL', 'README'):
data_files.append(('share/doc/freevo-%s' % version.__version__, ['%s' % f ]))
--- 28,32 ----
sys.exit(0)
! # add some files to Docs
for f in ('BUGS', 'COPYING', 'ChangeLog', 'INSTALL', 'README'):
data_files.append(('share/doc/freevo-%s' % version.__version__, ['%s' % f ]))
***************
*** 43,49 ****
# add docbook style howtos
! os.path.walk('./Docs/installation', util.distutils.docbook_finder, data_files)
! os.path.walk('./Docs/plugin_writing', util.distutils.docbook_finder, data_files)
scripts = ['freevo']
--- 38,46 ----
# add docbook style howtos
! os.path.walk('./Docs/installation', docbook_finder, data_files)
! os.path.walk('./Docs/plugin_writing', docbook_finder, data_files)
+ # i18n support
+ i18n('freevo')
scripts = ['freevo']
***************
*** 58,65 ****
license = "GPL",
! scripts=scripts,
! package_dir = util.distutils.package_dir,
! packages = util.distutils.packages,
! data_files = data_files
)
--- 55,63 ----
license = "GPL",
! scripts =scripts,
! package_dir = package_dir,
! packages = packages,
! data_files = data_files
)
+ finalize()
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog