Show More
@@ -38,6 +38,7 b' isfile = os.path.isfile' | |||||
38 | pjoin = os.path.join |
|
38 | pjoin = os.path.join | |
39 |
|
39 | |||
40 | from distutils.core import setup |
|
40 | from distutils.core import setup | |
|
41 | from distutils import dir_util | |||
41 | import py2exe |
|
42 | import py2exe | |
42 |
|
43 | |||
43 | # update the manuals when building a source dist |
|
44 | # update the manuals when building a source dist | |
@@ -89,3 +90,5 b' if not os.path.isdir("dist/_ipython"):' | |||||
89 | os.mkdir("dist/_ipython") |
|
90 | os.mkdir("dist/_ipython") | |
90 | open("dist/_ipython/ipythonrc.ini","w").write("# intentionally blank\n") |
|
91 | open("dist/_ipython/ipythonrc.ini","w").write("# intentionally blank\n") | |
91 | open("dist/_ipython/ipy_user_conf.py","w").write("import ipy_kitcfg\nimport ipy_profile_sh\n") |
|
92 | open("dist/_ipython/ipy_user_conf.py","w").write("import ipy_kitcfg\nimport ipy_profile_sh\n") | |
|
93 | if os.path.isdir('bin'): | |||
|
94 | dir_util.copy_tree('bin','dist/_ipython/bin') |
General Comments 0
You need to be logged in to leave comments.
Login now