Skip to content

Commit

Permalink
Add openwrt build system compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
svpcom committed Sep 17, 2024
1 parent 3608b88 commit 61827e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def __init__(self, *args, **kwargs):

version = os.environ.get('VERSION')
commit = os.environ.get('COMMIT')
install_data_files = not bool(os.environ.get('OMIT_DATA_FILES'))

assert version and commit

Expand Down Expand Up @@ -52,7 +53,7 @@ def _long_description():
'scripts/[email protected]']),
('/etc/default', ['scripts/default/wifibroadcast']),
('/etc/sysctl.d', ['scripts/98-wifibroadcast.conf']),
('/etc/logrotate.d', ['scripts/wifibroadcast'])],
('/etc/logrotate.d', ['scripts/wifibroadcast'])] if install_data_files else [],

keywords="wfb-ng, wifibroadcast",
author="Vasily Evseenko",
Expand Down

0 comments on commit 61827e1

Please sign in to comment.