[pygccxml-commit] SF.net SVN: pygccxml:[1710] pygccxml_dev/setup.py
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2009-05-10 18:25:09
|
Revision: 1710
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1710&view=rev
Author: roman_yakovenko
Date: 2009-05-10 18:25:05 +0000 (Sun, 10 May 2009)
Log Message:
-----------
update setup
Modified Paths:
--------------
pygccxml_dev/setup.py
Modified: pygccxml_dev/setup.py
===================================================================
--- pygccxml_dev/setup.py 2009-05-10 18:14:04 UTC (rev 1709)
+++ pygccxml_dev/setup.py 2009-05-10 18:25:05 UTC (rev 1710)
@@ -1,69 +1,20 @@
-#!/usr/bin/env python
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import sys, os, os.path
-from distutils import sysconfig
-from distutils.core import setup
-from distutils.cmd import Command
-
-def generate_doc():
- """Generate the epydoc reference manual.
- """
- print "Generating epydoc files..."
-
- from epydoc.docbuilder import build_doc_index
- from epydoc.docwriter.html import HTMLWriter
-
- docindex = build_doc_index(['pygccxml'])
- html_writer = HTMLWriter( docindex
- , prj_name='pygccxml'
- , prj_url='http://www.language-binding.net'
- , show_private=False
- , show_frames=False)
-
- html_writer.write( os.path.join('docs', 'apidocs') )
-
-class doc_cmd(Command):
- """This is a new distutils command 'doc' to build the epydoc manual.
- """
-
- description = 'build the API reference using epydoc'
- user_options = [('no-doc', None, "don't run epydoc")]
- boolean_options = ['no-doc']
-
- def initialize_options (self):
- self.no_doc = 0
-
- def finalize_options (self):
- pass
-
- def run(self):
- if self.no_doc:
- return
- generate_doc()
-
-
-# Generate the doc when a source distribution is created
-if sys.argv[-1]=="sdist":
- generate_doc()
-
-
-setup( name = "pygccxml",
- version = "1.0.0",
- description = "GCC-XML generated file reader",
- author = "Roman Yakovenko",
- author_email = "rom...@gm...",
- url = 'http://www.language-binding.net/pygccxml/pygccxml.html',
- packages = [ 'pygccxml',
- 'pygccxml.declarations',
- 'pygccxml.parser',
- 'pygccxml.binary_parsers',
- #~ deprecated
- #~ 'pygccxml.binary_parsers.bsc',
- #~ 'pygccxml.binary_parsers.mspdb',
- 'pygccxml.utils' ],
- cmdclass = {"doc" : doc_cmd}
-)
+#!/usr/bin/env python
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+from distutils.core import setup
+
+setup( name = "pygccxml",
+ version = "1.1.0",
+ description = "GCC-XML generated file reader",
+ author = "Roman Yakovenko",
+ author_email = "rom...@gm...",
+ url = 'http://www.language-binding.net/pygccxml/pygccxml.html',
+ packages = [ 'pygccxml',
+ 'pygccxml.declarations',
+ 'pygccxml.parser',
+ 'pygccxml.binary_parsers',
+ 'pygccxml.utils' ]
+)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|