##// END OF EJS Templates
disable install from master...
Min RK -
Show More
@@ -1,342 +1,360 b''
1 #!/usr/bin/env python
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
2 # -*- coding: utf-8 -*-
3 """Setup script for IPython.
3 """Setup script for IPython.
4
4
5 Under Posix environments it works like a typical setup.py script.
5 Under Posix environments it works like a typical setup.py script.
6 Under Windows, the command sdist is not supported, since IPython
6 Under Windows, the command sdist is not supported, since IPython
7 requires utilities which are not available under Windows."""
7 requires utilities which are not available under Windows."""
8
8
9 #-----------------------------------------------------------------------------
9 #-----------------------------------------------------------------------------
10 # Copyright (c) 2008-2011, IPython Development Team.
10 # Copyright (c) 2008-2011, IPython Development Team.
11 # Copyright (c) 2001-2007, Fernando Perez <fernando.perez@colorado.edu>
11 # Copyright (c) 2001-2007, Fernando Perez <fernando.perez@colorado.edu>
12 # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de>
12 # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de>
13 # Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu>
13 # Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu>
14 #
14 #
15 # Distributed under the terms of the Modified BSD License.
15 # Distributed under the terms of the Modified BSD License.
16 #
16 #
17 # The full license is in the file COPYING.rst, distributed with this software.
17 # The full license is in the file COPYING.rst, distributed with this software.
18 #-----------------------------------------------------------------------------
18 #-----------------------------------------------------------------------------
19
19
20 #-----------------------------------------------------------------------------
20 #-----------------------------------------------------------------------------
21 # Minimal Python version sanity check
21 # Minimal Python version sanity check
22 #-----------------------------------------------------------------------------
22 #-----------------------------------------------------------------------------
23 from __future__ import print_function
23 from __future__ import print_function
24
24
25 import sys
25 import sys
26
26
27 # This check is also made in IPython/__init__, don't forget to update both when
27 # This check is also made in IPython/__init__, don't forget to update both when
28 # changing Python version requirements.
28 # changing Python version requirements.
29 v = sys.version_info
29 v = sys.version_info
30 if v[:2] < (2,7) or (v[0] >= 3 and v[:2] < (3,3)):
30 if v[:2] < (2,7) or (v[0] >= 3 and v[:2] < (3,3)):
31 error = "ERROR: IPython requires Python version 2.7 or 3.3 or above."
31 error = "ERROR: IPython requires Python version 2.7 or 3.3 or above."
32 print(error, file=sys.stderr)
32 print(error, file=sys.stderr)
33 sys.exit(1)
33 sys.exit(1)
34
34
35 PY3 = (sys.version_info[0] >= 3)
35 PY3 = (sys.version_info[0] >= 3)
36
36
37 # At least we're on the python version we need, move on.
37 # At least we're on the python version we need, move on.
38
38
39 #-------------------------------------------------------------------------------
39 #-------------------------------------------------------------------------------
40 # Imports
40 # Imports
41 #-------------------------------------------------------------------------------
41 #-------------------------------------------------------------------------------
42
42
43 # Stdlib imports
43 # Stdlib imports
44 import os
44 import os
45 import shutil
45 import shutil
46
46
47 from glob import glob
47 from glob import glob
48
48
49 # BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
49 # BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
50 # update it when the contents of directories change.
50 # update it when the contents of directories change.
51 if os.path.exists('MANIFEST'): os.remove('MANIFEST')
51 if os.path.exists('MANIFEST'): os.remove('MANIFEST')
52
52
53 from distutils.core import setup
53 from distutils.core import setup
54
54
55 # Our own imports
55 # Our own imports
56 from setupbase import target_update
56 from setupbase import target_update
57
57
58 from setupbase import (
58 from setupbase import (
59 setup_args,
59 setup_args,
60 find_packages,
60 find_packages,
61 find_package_data,
61 find_package_data,
62 check_package_data_first,
62 check_package_data_first,
63 find_entry_points,
63 find_entry_points,
64 build_scripts_entrypt,
64 build_scripts_entrypt,
65 find_data_files,
65 find_data_files,
66 check_for_readline,
66 check_for_readline,
67 git_prebuild,
67 git_prebuild,
68 check_submodule_status,
68 check_submodule_status,
69 update_submodules,
69 update_submodules,
70 require_submodules,
70 require_submodules,
71 UpdateSubmodules,
71 UpdateSubmodules,
72 get_bdist_wheel,
72 get_bdist_wheel,
73 CompileCSS,
73 CompileCSS,
74 JavascriptVersion,
74 JavascriptVersion,
75 css_js_prerelease,
75 css_js_prerelease,
76 install_symlinked,
76 install_symlinked,
77 install_lib_symlink,
77 install_lib_symlink,
78 install_scripts_for_symlink,
78 install_scripts_for_symlink,
79 unsymlink,
79 unsymlink,
80 )
80 )
81
81
82 isfile = os.path.isfile
82 isfile = os.path.isfile
83 pjoin = os.path.join
83 pjoin = os.path.join
84
84
85 #-------------------------------------------------------------------------------
85 #-------------------------------------------------------------------------------
86 # Handle OS specific things
86 # Handle OS specific things
87 #-------------------------------------------------------------------------------
87 #-------------------------------------------------------------------------------
88
88
89 if os.name in ('nt','dos'):
89 if os.name in ('nt','dos'):
90 os_name = 'windows'
90 os_name = 'windows'
91 else:
91 else:
92 os_name = os.name
92 os_name = os.name
93
93
94 # Under Windows, 'sdist' has not been supported. Now that the docs build with
94 # Under Windows, 'sdist' has not been supported. Now that the docs build with
95 # Sphinx it might work, but let's not turn it on until someone confirms that it
95 # Sphinx it might work, but let's not turn it on until someone confirms that it
96 # actually works.
96 # actually works.
97 if os_name == 'windows' and 'sdist' in sys.argv:
97 if os_name == 'windows' and 'sdist' in sys.argv:
98 print('The sdist command is not available under Windows. Exiting.')
98 print('The sdist command is not available under Windows. Exiting.')
99 sys.exit(1)
99 sys.exit(1)
100
100
101 #-------------------------------------------------------------------------------
101 #-------------------------------------------------------------------------------
102 # Make sure we aren't trying to run without submodules
102 # Make sure we aren't trying to run without submodules
103 #-------------------------------------------------------------------------------
103 #-------------------------------------------------------------------------------
104 here = os.path.abspath(os.path.dirname(__file__))
104 here = os.path.abspath(os.path.dirname(__file__))
105
105
106 def require_clean_submodules():
106 def require_clean_submodules():
107 """Check on git submodules before distutils can do anything
107 """Check on git submodules before distutils can do anything
108
108
109 Since distutils cannot be trusted to update the tree
109 Since distutils cannot be trusted to update the tree
110 after everything has been set in motion,
110 after everything has been set in motion,
111 this is not a distutils command.
111 this is not a distutils command.
112 """
112 """
113 # PACKAGERS: Add a return here to skip checks for git submodules
113 # PACKAGERS: Add a return here to skip checks for git submodules
114
114
115 # don't do anything if nothing is actually supposed to happen
115 # don't do anything if nothing is actually supposed to happen
116 for do_nothing in ('-h', '--help', '--help-commands', 'clean', 'submodule'):
116 for do_nothing in ('-h', '--help', '--help-commands', 'clean', 'submodule'):
117 if do_nothing in sys.argv:
117 if do_nothing in sys.argv:
118 return
118 return
119
119
120 status = check_submodule_status(here)
120 status = check_submodule_status(here)
121
121
122 if status == "missing":
122 if status == "missing":
123 print("checking out submodules for the first time")
123 print("checking out submodules for the first time")
124 update_submodules(here)
124 update_submodules(here)
125 elif status == "unclean":
125 elif status == "unclean":
126 print('\n'.join([
126 print('\n'.join([
127 "Cannot build / install IPython with unclean submodules",
127 "Cannot build / install IPython with unclean submodules",
128 "Please update submodules with",
128 "Please update submodules with",
129 " python setup.py submodule",
129 " python setup.py submodule",
130 "or",
130 "or",
131 " git submodule update",
131 " git submodule update",
132 "or commit any submodule changes you have made."
132 "or commit any submodule changes you have made."
133 ]))
133 ]))
134 sys.exit(1)
134 sys.exit(1)
135
135
136 require_clean_submodules()
136 require_clean_submodules()
137
137
138 #-------------------------------------------------------------------------------
138 #-------------------------------------------------------------------------------
139 # Things related to the IPython documentation
139 # Things related to the IPython documentation
140 #-------------------------------------------------------------------------------
140 #-------------------------------------------------------------------------------
141
141
142 # update the manuals when building a source dist
142 # update the manuals when building a source dist
143 if len(sys.argv) >= 2 and sys.argv[1] in ('sdist','bdist_rpm'):
143 if len(sys.argv) >= 2 and sys.argv[1] in ('sdist','bdist_rpm'):
144
144
145 # List of things to be updated. Each entry is a triplet of args for
145 # List of things to be updated. Each entry is a triplet of args for
146 # target_update()
146 # target_update()
147 to_update = [
147 to_update = [
148 # FIXME - Disabled for now: we need to redo an automatic way
148 # FIXME - Disabled for now: we need to redo an automatic way
149 # of generating the magic info inside the rst.
149 # of generating the magic info inside the rst.
150 #('docs/magic.tex',
150 #('docs/magic.tex',
151 #['IPython/Magic.py'],
151 #['IPython/Magic.py'],
152 #"cd doc && ./update_magic.sh" ),
152 #"cd doc && ./update_magic.sh" ),
153
153
154 ('docs/man/ipcluster.1.gz',
154 ('docs/man/ipcluster.1.gz',
155 ['docs/man/ipcluster.1'],
155 ['docs/man/ipcluster.1'],
156 'cd docs/man && gzip -9c ipcluster.1 > ipcluster.1.gz'),
156 'cd docs/man && gzip -9c ipcluster.1 > ipcluster.1.gz'),
157
157
158 ('docs/man/ipcontroller.1.gz',
158 ('docs/man/ipcontroller.1.gz',
159 ['docs/man/ipcontroller.1'],
159 ['docs/man/ipcontroller.1'],
160 'cd docs/man && gzip -9c ipcontroller.1 > ipcontroller.1.gz'),
160 'cd docs/man && gzip -9c ipcontroller.1 > ipcontroller.1.gz'),
161
161
162 ('docs/man/ipengine.1.gz',
162 ('docs/man/ipengine.1.gz',
163 ['docs/man/ipengine.1'],
163 ['docs/man/ipengine.1'],
164 'cd docs/man && gzip -9c ipengine.1 > ipengine.1.gz'),
164 'cd docs/man && gzip -9c ipengine.1 > ipengine.1.gz'),
165
165
166 ('docs/man/ipython.1.gz',
166 ('docs/man/ipython.1.gz',
167 ['docs/man/ipython.1'],
167 ['docs/man/ipython.1'],
168 'cd docs/man && gzip -9c ipython.1 > ipython.1.gz'),
168 'cd docs/man && gzip -9c ipython.1 > ipython.1.gz'),
169
169
170 ]
170 ]
171
171
172
172
173 [ target_update(*t) for t in to_update ]
173 [ target_update(*t) for t in to_update ]
174
174
175 #---------------------------------------------------------------------------
175 #---------------------------------------------------------------------------
176 # Find all the packages, package data, and data_files
176 # Find all the packages, package data, and data_files
177 #---------------------------------------------------------------------------
177 #---------------------------------------------------------------------------
178
178
179 packages = find_packages()
179 packages = find_packages()
180 package_data = find_package_data()
180 package_data = find_package_data()
181
181
182 data_files = find_data_files()
182 data_files = find_data_files()
183
183
184 setup_args['packages'] = packages
184 setup_args['packages'] = packages
185 setup_args['package_data'] = package_data
185 setup_args['package_data'] = package_data
186 setup_args['data_files'] = data_files
186 setup_args['data_files'] = data_files
187
187
188 #---------------------------------------------------------------------------
188 #---------------------------------------------------------------------------
189 # custom distutils commands
189 # custom distutils commands
190 #---------------------------------------------------------------------------
190 #---------------------------------------------------------------------------
191 # imports here, so they are after setuptools import if there was one
191 # imports here, so they are after setuptools import if there was one
192 from distutils.command.sdist import sdist
192 from distutils.command.sdist import sdist
193 from distutils.command.upload import upload
193 from distutils.command.upload import upload
194
194
195 class UploadWindowsInstallers(upload):
195 class UploadWindowsInstallers(upload):
196
196
197 description = "Upload Windows installers to PyPI (only used from tools/release_windows.py)"
197 description = "Upload Windows installers to PyPI (only used from tools/release_windows.py)"
198 user_options = upload.user_options + [
198 user_options = upload.user_options + [
199 ('files=', 'f', 'exe file (or glob) to upload')
199 ('files=', 'f', 'exe file (or glob) to upload')
200 ]
200 ]
201 def initialize_options(self):
201 def initialize_options(self):
202 upload.initialize_options(self)
202 upload.initialize_options(self)
203 meta = self.distribution.metadata
203 meta = self.distribution.metadata
204 base = '{name}-{version}'.format(
204 base = '{name}-{version}'.format(
205 name=meta.get_name(),
205 name=meta.get_name(),
206 version=meta.get_version()
206 version=meta.get_version()
207 )
207 )
208 self.files = os.path.join('dist', '%s.*.exe' % base)
208 self.files = os.path.join('dist', '%s.*.exe' % base)
209
209
210 def run(self):
210 def run(self):
211 for dist_file in glob(self.files):
211 for dist_file in glob(self.files):
212 self.upload_file('bdist_wininst', 'any', dist_file)
212 self.upload_file('bdist_wininst', 'any', dist_file)
213
213
214 setup_args['cmdclass'] = {
214 setup_args['cmdclass'] = {
215 'build_py': css_js_prerelease(
215 'build_py': css_js_prerelease(
216 check_package_data_first(git_prebuild('IPython'))),
216 check_package_data_first(git_prebuild('IPython'))),
217 'sdist' : css_js_prerelease(git_prebuild('IPython', sdist)),
217 'sdist' : css_js_prerelease(git_prebuild('IPython', sdist)),
218 'upload_wininst' : UploadWindowsInstallers,
218 'upload_wininst' : UploadWindowsInstallers,
219 'submodule' : UpdateSubmodules,
219 'submodule' : UpdateSubmodules,
220 'css' : CompileCSS,
220 'css' : CompileCSS,
221 'symlink': install_symlinked,
221 'symlink': install_symlinked,
222 'install_lib_symlink': install_lib_symlink,
222 'install_lib_symlink': install_lib_symlink,
223 'install_scripts_sym': install_scripts_for_symlink,
223 'install_scripts_sym': install_scripts_for_symlink,
224 'unsymlink': unsymlink,
224 'unsymlink': unsymlink,
225 'jsversion' : JavascriptVersion,
225 'jsversion' : JavascriptVersion,
226 }
226 }
227
227
228 ### Temporarily disable install while it's broken during the big split
229 from textwrap import dedent
230 from distutils.command.install import install
231
232 class DisabledInstall(install):
233 def run(self):
234 msg = dedent("""
235 While we are in the midst of The Big Split,
236 IPython cannot be installed from master.
237 You can use `pip install -e .` for an editable install,
238 which still works.
239 """)
240 print(msg, file=sys.stderr)
241 raise SystemExit(1)
242
243 setup_args['cmdclass']['install'] = DisabledInstall
244
245
228 #---------------------------------------------------------------------------
246 #---------------------------------------------------------------------------
229 # Handle scripts, dependencies, and setuptools specific things
247 # Handle scripts, dependencies, and setuptools specific things
230 #---------------------------------------------------------------------------
248 #---------------------------------------------------------------------------
231
249
232 # For some commands, use setuptools. Note that we do NOT list install here!
250 # For some commands, use setuptools. Note that we do NOT list install here!
233 # If you want a setuptools-enhanced install, just run 'setupegg.py install'
251 # If you want a setuptools-enhanced install, just run 'setupegg.py install'
234 needs_setuptools = set(('develop', 'release', 'bdist_egg', 'bdist_rpm',
252 needs_setuptools = set(('develop', 'release', 'bdist_egg', 'bdist_rpm',
235 'bdist', 'bdist_dumb', 'bdist_wininst', 'bdist_wheel',
253 'bdist', 'bdist_dumb', 'bdist_wininst', 'bdist_wheel',
236 'egg_info', 'easy_install', 'upload', 'install_egg_info',
254 'egg_info', 'easy_install', 'upload', 'install_egg_info',
237 ))
255 ))
238
256
239 if len(needs_setuptools.intersection(sys.argv)) > 0:
257 if len(needs_setuptools.intersection(sys.argv)) > 0:
240 import setuptools
258 import setuptools
241
259
242 # This dict is used for passing extra arguments that are setuptools
260 # This dict is used for passing extra arguments that are setuptools
243 # specific to setup
261 # specific to setup
244 setuptools_extra_args = {}
262 setuptools_extra_args = {}
245
263
246 # setuptools requirements
264 # setuptools requirements
247
265
248 pyzmq = 'pyzmq>=13'
266 pyzmq = 'pyzmq>=13'
249
267
250 extras_require = dict(
268 extras_require = dict(
251 parallel = [pyzmq],
269 parallel = [pyzmq],
252 qtconsole = [pyzmq, 'pygments'],
270 qtconsole = [pyzmq, 'pygments'],
253 doc = ['Sphinx>=1.1', 'numpydoc'],
271 doc = ['Sphinx>=1.1', 'numpydoc'],
254 test = ['nose>=0.10.1', 'requests'],
272 test = ['nose>=0.10.1', 'requests'],
255 terminal = [],
273 terminal = [],
256 nbformat = ['jsonschema>=2.0'],
274 nbformat = ['jsonschema>=2.0'],
257 notebook = ['tornado>=4.0', pyzmq, 'jinja2', 'pygments', 'mistune>=0.5'],
275 notebook = ['tornado>=4.0', pyzmq, 'jinja2', 'pygments', 'mistune>=0.5'],
258 nbconvert = ['pygments', 'jinja2', 'mistune>=0.3.1']
276 nbconvert = ['pygments', 'jinja2', 'mistune>=0.3.1']
259 )
277 )
260
278
261 if not sys.platform.startswith('win'):
279 if not sys.platform.startswith('win'):
262 extras_require['notebook'].append('terminado>=0.3.3')
280 extras_require['notebook'].append('terminado>=0.3.3')
263
281
264 if sys.version_info < (3, 3):
282 if sys.version_info < (3, 3):
265 extras_require['test'].append('mock')
283 extras_require['test'].append('mock')
266
284
267 extras_require['notebook'].extend(extras_require['nbformat'])
285 extras_require['notebook'].extend(extras_require['nbformat'])
268 extras_require['nbconvert'].extend(extras_require['nbformat'])
286 extras_require['nbconvert'].extend(extras_require['nbformat'])
269
287
270 install_requires = [
288 install_requires = [
271 'decorator',
289 'decorator',
272 'pickleshare',
290 'pickleshare',
273 'simplegeneric>0.8',
291 'simplegeneric>0.8',
274 ]
292 ]
275
293
276 # add platform-specific dependencies
294 # add platform-specific dependencies
277 if sys.platform == 'darwin':
295 if sys.platform == 'darwin':
278 install_requires.append('appnope')
296 install_requires.append('appnope')
279 if 'bdist_wheel' in sys.argv[1:] or not check_for_readline():
297 if 'bdist_wheel' in sys.argv[1:] or not check_for_readline():
280 install_requires.append('gnureadline')
298 install_requires.append('gnureadline')
281
299
282 if sys.platform.startswith('win'):
300 if sys.platform.startswith('win'):
283 extras_require['terminal'].append('pyreadline>=2.0')
301 extras_require['terminal'].append('pyreadline>=2.0')
284 else:
302 else:
285 install_requires.append('pexpect')
303 install_requires.append('pexpect')
286
304
287 everything = set()
305 everything = set()
288 for deps in extras_require.values():
306 for deps in extras_require.values():
289 everything.update(deps)
307 everything.update(deps)
290 extras_require['all'] = everything
308 extras_require['all'] = everything
291
309
292 if 'setuptools' in sys.modules:
310 if 'setuptools' in sys.modules:
293 # setup.py develop should check for submodules
311 # setup.py develop should check for submodules
294 from setuptools.command.develop import develop
312 from setuptools.command.develop import develop
295 setup_args['cmdclass']['develop'] = require_submodules(develop)
313 setup_args['cmdclass']['develop'] = require_submodules(develop)
296 setup_args['cmdclass']['bdist_wheel'] = css_js_prerelease(get_bdist_wheel())
314 setup_args['cmdclass']['bdist_wheel'] = css_js_prerelease(get_bdist_wheel())
297
315
298 setuptools_extra_args['zip_safe'] = False
316 setuptools_extra_args['zip_safe'] = False
299 setuptools_extra_args['entry_points'] = {
317 setuptools_extra_args['entry_points'] = {
300 'console_scripts': find_entry_points(),
318 'console_scripts': find_entry_points(),
301 'pygments.lexers': [
319 'pygments.lexers': [
302 'ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer',
320 'ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer',
303 'ipython = IPython.lib.lexers:IPythonLexer',
321 'ipython = IPython.lib.lexers:IPythonLexer',
304 'ipython3 = IPython.lib.lexers:IPython3Lexer',
322 'ipython3 = IPython.lib.lexers:IPython3Lexer',
305 ],
323 ],
306 }
324 }
307 setup_args['extras_require'] = extras_require
325 setup_args['extras_require'] = extras_require
308 requires = setup_args['install_requires'] = install_requires
326 requires = setup_args['install_requires'] = install_requires
309
327
310 # Script to be run by the windows binary installer after the default setup
328 # Script to be run by the windows binary installer after the default setup
311 # routine, to add shortcuts and similar windows-only things. Windows
329 # routine, to add shortcuts and similar windows-only things. Windows
312 # post-install scripts MUST reside in the scripts/ dir, otherwise distutils
330 # post-install scripts MUST reside in the scripts/ dir, otherwise distutils
313 # doesn't find them.
331 # doesn't find them.
314 if 'bdist_wininst' in sys.argv:
332 if 'bdist_wininst' in sys.argv:
315 if len(sys.argv) > 2 and \
333 if len(sys.argv) > 2 and \
316 ('sdist' in sys.argv or 'bdist_rpm' in sys.argv):
334 ('sdist' in sys.argv or 'bdist_rpm' in sys.argv):
317 print("ERROR: bdist_wininst must be run alone. Exiting.", file=sys.stderr)
335 print("ERROR: bdist_wininst must be run alone. Exiting.", file=sys.stderr)
318 sys.exit(1)
336 sys.exit(1)
319 setup_args['data_files'].append(
337 setup_args['data_files'].append(
320 ['Scripts', ('scripts/ipython.ico', 'scripts/ipython_nb.ico')])
338 ['Scripts', ('scripts/ipython.ico', 'scripts/ipython_nb.ico')])
321 setup_args['scripts'] = [pjoin('scripts','ipython_win_post_install.py')]
339 setup_args['scripts'] = [pjoin('scripts','ipython_win_post_install.py')]
322 setup_args['options'] = {"bdist_wininst":
340 setup_args['options'] = {"bdist_wininst":
323 {"install_script":
341 {"install_script":
324 "ipython_win_post_install.py"}}
342 "ipython_win_post_install.py"}}
325
343
326 else:
344 else:
327 # scripts has to be a non-empty list, or install_scripts isn't called
345 # scripts has to be a non-empty list, or install_scripts isn't called
328 setup_args['scripts'] = [e.split('=')[0].strip() for e in find_entry_points()]
346 setup_args['scripts'] = [e.split('=')[0].strip() for e in find_entry_points()]
329
347
330 setup_args['cmdclass']['build_scripts'] = build_scripts_entrypt
348 setup_args['cmdclass']['build_scripts'] = build_scripts_entrypt
331
349
332 #---------------------------------------------------------------------------
350 #---------------------------------------------------------------------------
333 # Do the actual setup now
351 # Do the actual setup now
334 #---------------------------------------------------------------------------
352 #---------------------------------------------------------------------------
335
353
336 setup_args.update(setuptools_extra_args)
354 setup_args.update(setuptools_extra_args)
337
355
338 def main():
356 def main():
339 setup(**setup_args)
357 setup(**setup_args)
340
358
341 if __name__ == '__main__':
359 if __name__ == '__main__':
342 main()
360 main()
General Comments 0
You need to be logged in to leave comments. Login now