Show More
@@ -104,7 +104,7 b' def file_doesnt_endwith(test,endings):' | |||
|
104 | 104 | # Note that http://www.redbrick.dcu.ie/~noel/distutils.html, ex. 2/3, contain |
|
105 | 105 | # information on how to do this more cleanly once python 2.4 can be assumed. |
|
106 | 106 | # Thanks to Noel for the tip. |
|
107 |
docdirbase = 'share/doc/ipython |
|
|
107 | docdirbase = 'share/doc/ipython' | |
|
108 | 108 | manpagebase = 'share/man/man1' |
|
109 | 109 | |
|
110 | 110 | # We only need to exclude from this things NOT already excluded in the |
@@ -136,7 +136,6 b" datafiles = [('data', docdirbase, docfiles)," | |||
|
136 | 136 | ('data', pjoin(docdirbase, 'examples'),examfiles), |
|
137 | 137 | ('data', pjoin(docdirbase, 'manual'),manfiles), |
|
138 | 138 | ('data', manpagebase, manpages), |
|
139 | ('lib', 'IPython/UserConfig', cfgfiles), | |
|
140 | 139 | ('data',pjoin(docdirbase, 'extensions'),igridhelpfiles), |
|
141 | 140 | ] |
|
142 | 141 | |
@@ -156,6 +155,11 b" if 'setuptools' in sys.modules:" | |||
|
156 | 155 | #datafiles = [('lib', 'IPython/UserConfig', cfgfiles)] |
|
157 | 156 | else: |
|
158 | 157 | egg_extra_kwds = {} |
|
158 | # package_data of setuptools was introduced to distutils in 2.4 | |
|
159 | if sys.version_info < (2,4): | |
|
160 | datafiles.append(('lib', 'IPython/UserConfig', cfgfiles)) | |
|
161 | ||
|
162 | ||
|
159 | 163 | |
|
160 | 164 | |
|
161 | 165 | # Call the setup() routine which does most of the work |
@@ -170,8 +174,9 b' setup(name = name,' | |||
|
170 | 174 | license = license, |
|
171 | 175 | platforms = platforms, |
|
172 | 176 | keywords = keywords, |
|
173 | packages = ['IPython', 'IPython.Extensions', 'IPython.external', 'IPython.gui', 'IPython.gui.wx'], | |
|
177 | packages = ['IPython', 'IPython.Extensions', 'IPython.external', 'IPython.gui', 'IPython.gui.wx', 'IPython.UserConfig'], | |
|
174 | 178 | scripts = scriptfiles, |
|
179 | package_data = {'IPython.UserConfig' : ['*'] }, | |
|
175 | 180 | |
|
176 | 181 | cmdclass = {'install_data': install_data_ext}, |
|
177 | 182 | data_files = datafiles, |
General Comments 0
You need to be logged in to leave comments.
Login now