Skip to content

Commit

Permalink
setup_entry_opint(): Extend direct dist data
Browse files Browse the repository at this point in the history
  • Loading branch information
userzimmermann committed Aug 11, 2019
1 parent 54c62f3 commit 118ac59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zetup/entry_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def setup_entry_point(dist, keyword='use_zetup', value=True):
# but *pip* only works correct if some stuff is also set directly on
# dist object (pip seems to read at least package infos somehow from
# there)
if name.startswith('package') or name.endswith('requires'):
if name.startswith('package') or name.endswith((
'requires', 'require')):
setattr(dist, name, value)

if zfg.in_repo:
Expand Down

0 comments on commit 118ac59

Please sign in to comment.