restructure project for packaging

This commit is contained in:
Jakob Ketterl
2019-12-08 17:15:48 +01:00
parent 37086bc6c7
commit 9164a3ed3a
8 changed files with 92 additions and 75 deletions

View File

@ -1,11 +1,14 @@
from setuptools import setup, find_packages
from setuptools import setup, find_namespace_packages
from owrx.version import strictversion
setup(
name="OpenWebRX",
version=str(strictversion),
packages=find_packages(),
entry_points={"console_scripts": ["openwebrx=openwebrx:main"]},
packages=find_namespace_packages(include=["owrx", "csdr", "htdocs"]),
package_data={
"htdocs": ["*", "**/*"]
},
entry_points={"console_scripts": ["openwebrx=owrx.__main__:main"]},
# use the github page for now
url="https://github.com/jketterl/openwebrx",
author="András Retzler, Jakob Ketterl",
@ -13,4 +16,5 @@ setup(
maintainer="Jakob Ketterl",
maintainer_email="jakob.ketterl@gmx.de",
license="GAGPL",
python_requires=">=3.6",
)