openwebrx-clone/setup.py

26 lines
870 B
Python
Raw Normal View History

2019-12-08 20:37:14 +00:00
from glob import glob
from setuptools import setup
2019-12-08 13:02:09 +00:00
from owrx.version import strictversion
try:
from setuptools import find_namespace_packages
except ImportError:
from setuptools import PEP420PackageFinder
find_namespace_packages = PEP420PackageFinder.find
2019-12-08 13:02:09 +00:00
setup(
name="OpenWebRX",
version=str(strictversion),
packages=find_namespace_packages(include=["owrx", "owrx.source", "csdr", "htdocs"]),
2019-12-28 00:24:07 +00:00
package_data={"htdocs": [f[len("htdocs/") :] for f in glob("htdocs/**/*", recursive=True)]},
2019-12-08 16:15:48 +00:00
entry_points={"console_scripts": ["openwebrx=owrx.__main__:main"]},
2019-12-08 13:02:09 +00:00
# use the github page for now
url="https://github.com/jketterl/openwebrx",
author="Jakob Ketterl",
author_email="jakob.ketterl@gmx.de",
2019-12-08 13:02:09 +00:00
maintainer="Jakob Ketterl",
maintainer_email="jakob.ketterl@gmx.de",
license="GAGPL",
2020-01-05 19:49:29 +00:00
python_requires=">=3.5",
2019-12-08 13:02:09 +00:00
)