Skip to content

Commit

Permalink
Merge pull request #369 from kivy/fix_setup
Browse files Browse the repository at this point in the history
Remove setup.py from installed package
  • Loading branch information
KeyWeeUsr committed Nov 27, 2018
2 parents 8aa9178 + 881daa3 commit 6c2f7a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ def compile_native_invocation_handler(*possible_homes):
if LIB_LOCATION is not None:
fd.write('DEF JNIUS_LIB_SUFFIX = {0!r}\n\n'.format(LIB_LOCATION))

# pop setup.py from included files in the installed package
SETUP_KWARGS['py_modules'].remove('setup')

# create the extension
setup(
cmdclass={'build_ext': build_ext},
Expand Down

0 comments on commit 6c2f7a5

Please sign in to comment.