mirror of
https://github.com/kk7ds/chirp
synced 2026-08-13 17:51:36 -04:00
I have no idea why the python community is so obsessed over breaking things with version numbers they don't like, especially for things that have no public interface and never need to be depended on. Regardless, setuptools 67 breaks our test environment setup because we don't have a compliant version number in our unreleased source tree. So, just break setup.py's version apart from our actual version and set it to zero. The build system stamps this to the right thing in the distributions anyway.
29 lines
799 B
Python
29 lines
799 B
Python
from distutils.core import setup
|
|
from glob import glob
|
|
from setuptools import find_packages
|
|
|
|
from chirp import CHIRP_VERSION
|
|
|
|
setup(name='chirp',
|
|
description='A cross-platform cross-radio programming tool',
|
|
packages=find_packages(include=["chirp*"]),
|
|
include_package_data=True,
|
|
version=0,
|
|
url='https://chirp.danplanet.com',
|
|
python_requires=">=3.7,<4",
|
|
install_requires=[
|
|
'pyserial',
|
|
'requests',
|
|
'six',
|
|
'future',
|
|
'importlib-resources;python_version<"3.10"',
|
|
'yattag',
|
|
],
|
|
extras_require={
|
|
'wx': ['wxPython'],
|
|
},
|
|
entry_points={
|
|
'console_scripts': ["chirp=chirp.wxui:chirpmain",
|
|
"chirpc=chirp.cli.main:main"],
|
|
},
|
|
)
|