Skip to content

Commit

Permalink
Merge pull request #83 from minrk/windows-ruins-everything
Browse files Browse the repository at this point in the history
setuptools entrypoint
  • Loading branch information
Carreau committed Aug 19, 2015
2 parents fcc3a83 + 0eaf20c commit 4f87ba4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,13 @@ def run(self):
if 'setuptools' in sys.modules:
from setuptools.command.develop import develop
cmdclass['develop'] = css_first(develop)
# force entrypoints with setuptools (needed for Windows, unconditional because of wheels)
setup_args['entry_points'] = {
'console_scripts': [
'jupyter-nbconvert = nbconvert.nbconvertapp:main',
]
}
setup_args.pop('scripts', None)

setup_args.update(setuptools_args)

Expand Down

0 comments on commit 4f87ba4

Please sign in to comment.