Skip to content

Commit 035d643

Browse files
committed
Remove unused code for building Windows installers
1 parent d91ac02 commit 035d643

File tree

2 files changed

+1
-154
lines changed

2 files changed

+1
-154
lines changed

scripts/ipython_win_post_install.py

Lines changed: 0 additions & 137 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -239,23 +239,7 @@
239239
],
240240
}
241241
setup_args['extras_require'] = extras_require
242-
requires = setup_args['install_requires'] = install_requires
243-
244-
# Script to be run by the windows binary installer after the default setup
245-
# routine, to add shortcuts and similar windows-only things. Windows
246-
# post-install scripts MUST reside in the scripts/ dir, otherwise distutils
247-
# doesn't find them.
248-
if 'bdist_wininst' in sys.argv:
249-
if len(sys.argv) > 2 and \
250-
('sdist' in sys.argv or 'bdist_rpm' in sys.argv):
251-
print("ERROR: bdist_wininst must be run alone. Exiting.", file=sys.stderr)
252-
sys.exit(1)
253-
setup_args['data_files'].append(
254-
['Scripts', ('scripts/ipython.ico', 'scripts/ipython_nb.ico')])
255-
setup_args['scripts'] = [pjoin('scripts','ipython_win_post_install.py')]
256-
setup_args['options'] = {"bdist_wininst":
257-
{"install_script":
258-
"ipython_win_post_install.py"}}
242+
setup_args['install_requires'] = install_requires
259243

260244
else:
261245
# scripts has to be a non-empty list, or install_scripts isn't called

0 commit comments

Comments
 (0)