[DEBUG] fix recursive mode
This commit is contained in:
parent
b3a3c82d75
commit
aea79397ff
@ -85,8 +85,8 @@ def recursive_get(path):
|
||||
for filename in filenames:
|
||||
#debug.info(os.path.join(root,filename))
|
||||
if len(filename) > 2 \
|
||||
and ( ff_file[-3:].lower() == ".d" \
|
||||
or ff_file[-3:].lower() == ".o"):
|
||||
and ( filename[-3:].lower() == ".d" \
|
||||
or filename[-3:].lower() == ".o"):
|
||||
pass
|
||||
else:
|
||||
out.append(os.path.join(root,filename))
|
||||
|
@ -44,7 +44,7 @@ def read_file_property(folder):
|
||||
else:
|
||||
continue
|
||||
debug.debug("Load config file:" + os.path.join(folder,ff_file))
|
||||
data = file_read_data(os.path.join(prude_root_path,ff_file))
|
||||
data = file_read_data(os.path.join(folder,ff_file))
|
||||
for elem in data.split("\n"):
|
||||
if elem == "":
|
||||
continue
|
||||
|
12
setup.py
12
setup.py
@ -17,7 +17,7 @@ def readme():
|
||||
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||
setup(name='prude',
|
||||
version='0.2.0',
|
||||
description='Prude is a simple parser thacj check word error (CamelCase and snake_case)',
|
||||
description='Prude is a simple parser that check word error (CamelCase variable, snake_case variable and Documentation)',
|
||||
long_description=readme(),
|
||||
url='http://github.com/HeeroYui/prude',
|
||||
author='Edouard DUPIN',
|
||||
@ -28,14 +28,12 @@ setup(name='prude',
|
||||
'Development Status :: 4 - Beta',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Programming Language :: Python',
|
||||
'Topic :: Software Development :: Compilers',
|
||||
'Topic :: Software Development :: Build Tools',
|
||||
'Topic :: Software Development :: Documentation',
|
||||
'Topic :: Software Development :: Testing'
|
||||
],
|
||||
keywords='documentation over doxygen',
|
||||
keywords='language checker in code',
|
||||
scripts=['bin/prude'],
|
||||
# Does not work on MacOs
|
||||
#data_file=[
|
||||
# ('/etc/bash_completion.d', ['bash-autocompletion/lutin']),
|
||||
#],
|
||||
include_package_data = True,
|
||||
zip_safe=False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user