forked from openlp/openlp
Update formating and remove dead enchant code
This commit is contained in:
parent
5b95657fbb
commit
a039a50005
@ -146,7 +146,6 @@ i18n_path = os.path.join(branch_path, u'resources', u'i18n')
|
|||||||
winres_path = os.path.join(branch_path, u'resources', u'windows')
|
winres_path = os.path.join(branch_path, u'resources', u'windows')
|
||||||
build_path = os.path.join(branch_path, u'build')
|
build_path = os.path.join(branch_path, u'build')
|
||||||
dist_path = os.path.join(build_path, u'dist', u'OpenLP')
|
dist_path = os.path.join(build_path, u'dist', u'OpenLP')
|
||||||
#enchant_path = os.path.join(site_packages, u'enchant')
|
|
||||||
pptviewlib_path = os.path.join(source_path, u'plugins', u'presentations',
|
pptviewlib_path = os.path.join(source_path, u'plugins', u'presentations',
|
||||||
u'lib', u'pptviewlib')
|
u'lib', u'pptviewlib')
|
||||||
|
|
||||||
@ -211,19 +210,6 @@ def write_version_file():
|
|||||||
f.write(versionstring)
|
f.write(versionstring)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
#def copy_enchant():
|
|
||||||
#print u'Copying enchant/pyenchant...'
|
|
||||||
#source = enchant_path
|
|
||||||
#dest = os.path.join(dist_path, u'enchant')
|
|
||||||
#for root, dirs, files in os.walk(source):
|
|
||||||
#for filename in files:
|
|
||||||
#if not filename.endswith(u'.pyc') and not filename.endswith(u'.pyo'):
|
|
||||||
#dest_path = os.path.join(dest, root[len(source) + 1:])
|
|
||||||
#if not os.path.exists(dest_path):
|
|
||||||
#os.makedirs(dest_path)
|
|
||||||
#copy(os.path.join(root, filename),
|
|
||||||
#os.path.join(dest_path, filename))
|
|
||||||
|
|
||||||
def copy_plugins():
|
def copy_plugins():
|
||||||
print u'Copying plugins...'
|
print u'Copying plugins...'
|
||||||
source = os.path.join(source_path, u'plugins')
|
source = os.path.join(source_path, u'plugins')
|
||||||
@ -356,7 +342,6 @@ def main():
|
|||||||
build_pptviewlib()
|
build_pptviewlib()
|
||||||
run_pyinstaller()
|
run_pyinstaller()
|
||||||
write_version_file()
|
write_version_file()
|
||||||
#copy_enchant()
|
|
||||||
copy_plugins()
|
copy_plugins()
|
||||||
if os.path.exists(manual_path):
|
if os.path.exists(manual_path):
|
||||||
run_sphinx()
|
run_sphinx()
|
||||||
|
Loading…
Reference in New Issue
Block a user