mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 10:37:15 +00:00
Make wxPython optional for Python packaging purposes
wxPython is unnecessary for the automated test suite. Additionally, the GTK interface still works under PyGObject in GTK 3, so re-expose that.
This commit is contained in:
parent
6740f801c7
commit
a4d897d8a6
@ -3,6 +3,7 @@ include chirp/share/*.png
|
||||
include chirp/share/*.ico
|
||||
include chirp/share/*.1
|
||||
include chirp/stock_configs/*
|
||||
include chirpw
|
||||
include COPYING
|
||||
include *requirements.txt
|
||||
graft tests
|
||||
|
6
setup.py
6
setup.py
@ -12,13 +12,17 @@ setup(name='chirp',
|
||||
url='https://chirp.danplanet.com',
|
||||
python_requires=">=3.7,<4",
|
||||
install_requires=[
|
||||
'wxPython',
|
||||
'pyserial',
|
||||
'six',
|
||||
'future',
|
||||
'importlib-resources;python_version<"3.10"'
|
||||
],
|
||||
extras_require={
|
||||
'wx': ['wxPython'],
|
||||
'gtk': ['PyGObject']
|
||||
},
|
||||
entry_points={
|
||||
'console_scripts': ["chirp=chirp.wxui:chirpmain"],
|
||||
},
|
||||
scripts=['chirpw'],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user