mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
- --multiple now generates one cpp per pyste file.
[SVN r18945]
This commit is contained in:
@@ -4,7 +4,7 @@ from distutils.core import setup
|
||||
import sys
|
||||
|
||||
setup (name = "Pyste",
|
||||
version = "0.9.7",
|
||||
version = "0.9.8",
|
||||
description = "Pyste - Python Semi-Automatic Exporter",
|
||||
maintainer = "Bruno da Silva de Oliveira",
|
||||
maintainer_email = "nicodemus@globalite.com.br",
|
||||
|
||||
@@ -39,7 +39,7 @@ from policies import *
|
||||
from CppParser import CppParser, CppParserError
|
||||
import time
|
||||
|
||||
__VERSION__ = '0.9.7'
|
||||
__VERSION__ = '0.9.8'
|
||||
|
||||
def RecursiveIncludes(include):
|
||||
'Return a list containg the include dir and all its subdirectories'
|
||||
|
||||
@@ -20,6 +20,8 @@ _valid_chars = dict(zip(_valid_chars, _valid_chars))
|
||||
|
||||
def makeid(name):
|
||||
'Returns the name as a valid identifier'
|
||||
if type(name) != str:
|
||||
print type(name), name
|
||||
newname = []
|
||||
for char in name:
|
||||
if char not in _valid_chars:
|
||||
|
||||
@@ -104,7 +104,7 @@ def main(multiple, module=None):
|
||||
os.system('python %sUT.py' % modules[0])
|
||||
else:
|
||||
run_tests()
|
||||
cleanup()
|
||||
#cleanup()
|
||||
|
||||
|
||||
def get_modules():
|
||||
@@ -118,7 +118,7 @@ if __name__ == '__main__':
|
||||
else:
|
||||
module = None
|
||||
try:
|
||||
#main('--multiple', module)
|
||||
main('', module)
|
||||
main('--multiple', module)
|
||||
#main('', module)
|
||||
except RuntimeError, e:
|
||||
print e
|
||||
|
||||
Reference in New Issue
Block a user