mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
- fixes module name if run from another directory where the .pyste file is located
[SVN r22977]
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
27 May 2004
|
||||
Applied patch by Paul Bridger that solves a problem on windows regarding
|
||||
spaces on paths. Thanks Paul!
|
||||
|
||||
Applied another patch that fixes the module name if pyste is run from
|
||||
another directory of where the .pyste file is located. Patch contributted
|
||||
by Paul Bridger.
|
||||
|
||||
17 May 2004
|
||||
Applied a patch by Roman Yakovenko that makes the export of unnamed enums
|
||||
better. Thanks Roman!
|
||||
|
||||
@@ -11,5 +11,4 @@
|
||||
|
||||
- args() support
|
||||
|
||||
- --file-list, allowing the user to pass the filename of a file with the pyste
|
||||
files
|
||||
- set policies to methods with the same name
|
||||
|
||||
@@ -111,7 +111,7 @@ class CppParser:
|
||||
includes = self._IncludeParams(filename)
|
||||
defines = self._DefineParams()
|
||||
# call gccxml
|
||||
cmd = 'gccxml %s %s %s -fxml=%s'
|
||||
cmd = 'gccxml %s %s "%s" -fxml=%s'
|
||||
filename = self.Unixfy(filename)
|
||||
xmlfile = self.Unixfy(xmlfile)
|
||||
status = os.system(cmd % (includes, defines, filename, xmlfile))
|
||||
|
||||
@@ -159,7 +159,7 @@ def ParseArguments():
|
||||
if not files:
|
||||
Usage()
|
||||
if not module:
|
||||
module = os.path.splitext(files[0])[0]
|
||||
module = os.path.splitext(os.path.basename(files[0]))[0]
|
||||
if not out:
|
||||
out = module
|
||||
if not multiple:
|
||||
|
||||
Reference in New Issue
Block a user