mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-31 10:19:54 +03:00
jdk.table is not used anymore
This commit is contained in:
parent
713f8bacf6
commit
96d41762a5
|
@ -44,17 +44,3 @@ if not pycharm:
|
|||
shutil.rmtree(os.path.join(project_directory, path))
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
import fileinput
|
||||
|
||||
jdk_table_xml = os.path.join(project_directory, 'compose/pycharm/jdk.table.xml')
|
||||
jdk_table_dst_dir = os.path.join(os.path.expanduser('~'), '.PyCharm40/config/options/')
|
||||
|
||||
for line in fileinput.input(jdk_table_xml, inplace=True):
|
||||
print line.replace('$PROJECT_DIR$', project_directory),
|
||||
|
||||
|
||||
if not os.path.exists(jdk_table_dst_dir):
|
||||
os.makedirs(jdk_table_dst_dir)
|
||||
shutil.copy2(jdk_table_xml, jdk_table_dst_dir)
|
||||
|
|
Loading…
Reference in New Issue
Block a user