Skip to content

Commit

Permalink
Remove unused code for building Windows installers
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Apr 12, 2017
1 parent d91ac02 commit 035d643
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 154 deletions.
137 changes: 0 additions & 137 deletions scripts/ipython_win_post_install.py

This file was deleted.

18 changes: 1 addition & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,23 +239,7 @@
],
}
setup_args['extras_require'] = extras_require
requires = setup_args['install_requires'] = install_requires

# Script to be run by the windows binary installer after the default setup
# routine, to add shortcuts and similar windows-only things. Windows
# post-install scripts MUST reside in the scripts/ dir, otherwise distutils
# doesn't find them.
if 'bdist_wininst' in sys.argv:
if len(sys.argv) > 2 and \
('sdist' in sys.argv or 'bdist_rpm' in sys.argv):
print("ERROR: bdist_wininst must be run alone. Exiting.", file=sys.stderr)
sys.exit(1)
setup_args['data_files'].append(
['Scripts', ('scripts/ipython.ico', 'scripts/ipython_nb.ico')])
setup_args['scripts'] = [pjoin('scripts','ipython_win_post_install.py')]
setup_args['options'] = {"bdist_wininst":
{"install_script":
"ipython_win_post_install.py"}}
setup_args['install_requires'] = install_requires

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

0 comments on commit 035d643

Please sign in to comment.