/[papo]/gnue/forms/setup.py
ViewVC logotype

Diff of /gnue/forms/setup.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by styxman, Thu Nov 14 22:16:51 2002 UTC revision 1.4.2.1 by anthonyl, Tue Mar 4 22:18:19 2003 UTC
# Line 1  Line 1 
1  #!/usr/bin/env python  #!/usr/bin/env python
2  #  #
3  # Copyright 2001-2002 Free Software Foundation  # Copyright 2001-2003 Free Software Foundation
4  #  #
5  # This file is part of GNU Enterprise.  # This file is part of GNU Enterprise.
6  #  #
# Line 57  http://www.python.org/sigs/distutils-sig Line 57  http://www.python.org/sigs/distutils-sig
57    
58    
59  if 'sdist' in sys.argv:  if 'sdist' in sys.argv:
60    print """  
61  We are going to create the docs needed for the  ##  print """
62  source distro.  You'll need lyx installed.  ##We are going to create the docs needed for the
63  """  ##source distro.  You'll need lyx installed.
64    raw_input ("Press Control-D to abort or any other key to continue")  ##"""
65    os.system ("""  ##  raw_input ("Press Control-D to abort or any other key to continue")
66  cd doc  ##  os.system ("""
67  lyx --export text techref.lyx  ##cd doc
68  lyx --export pdf techref.lyx  ##lyx --export text techref.lyx
69  lyx --export text user_guide.lyx  ##lyx --export pdf techref.lyx
70  lyx --export pdf user_guide.lyx  ##lyx --export text user_guide.lyx
71  """)  ##lyx --export pdf user_guide.lyx
72    ##""")
73    
74    
75    print "Now, we are going to create the man pages for our tools."    print "Now, we are going to create the man pages for our tools."
# Line 160  you can get it from http://www.lemburg.c Line 161  you can get it from http://www.lemburg.c
161      sys.exit()      sys.exit()
162    
163    
164        
165  # Site config stuff  # Site config stuff
166  try:  try:
167    index = sys.argv.index('--cfg-file')    index = sys.argv.index('--cfg-file')
# Line 241  class my_build_scripts(build_scripts): Line 242  class my_build_scripts(build_scripts):
242        print "OK"        print "OK"
243    
244  docfiles = []  docfiles = []
245  for file in ('doc/techref.pdf','doc/techref.txt',  for file in ('doc/Developers-Guide.pdf','doc/Developers-Guide.txt',
246         'doc/Developers-Guide.html',
247       'doc/user_guide.txt','doc/user_guide.pdf'):       'doc/user_guide.txt','doc/user_guide.pdf'):
248    if os.path.isfile(file):    if os.path.isfile(file):
249      docfiles.append(file)      docfiles.append(file)
# Line 285  setup (name = "GNUe-Forms", Line 287  setup (name = "GNUe-Forms",
287                     "gnue.forms.uidrivers",                     "gnue.forms.uidrivers",
288                     "gnue.forms.uidrivers._base",                     "gnue.forms.uidrivers._base",
289                     "gnue.forms.uidrivers.wx",                     "gnue.forms.uidrivers.wx",
290                       "gnue.forms.uidrivers.curses",
291                     "gnue.forms.uidrivers.gtk2",                     "gnue.forms.uidrivers.gtk2",
292                     ],                     ],
293         package_dir = {"gnue.forms" : "src"},         package_dir = {"gnue.forms" : "src"},

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26