2019-12-08 20:37:14 +00:00
|
|
|
from glob import glob
|
2020-01-05 20:08:17 +00:00
|
|
|
from setuptools import setup
|
2020-06-14 19:58:35 +00:00
|
|
|
from owrx.version import looseversion
|
2019-12-08 13:02:09 +00:00
|
|
|
|
2020-01-05 20:08:17 +00:00
|
|
|
try:
|
|
|
|
from setuptools import find_namespace_packages
|
|
|
|
except ImportError:
|
|
|
|
from setuptools import PEP420PackageFinder
|
2021-01-20 16:01:46 +00:00
|
|
|
|
2020-01-05 20:08:17 +00:00
|
|
|
find_namespace_packages = PEP420PackageFinder.find
|
|
|
|
|
2019-12-08 13:02:09 +00:00
|
|
|
setup(
|
|
|
|
name="OpenWebRX",
|
2020-06-14 19:58:35 +00:00
|
|
|
version=str(looseversion),
|
2021-01-20 16:01:46 +00:00
|
|
|
packages=find_namespace_packages(
|
|
|
|
include=[
|
|
|
|
"owrx",
|
|
|
|
"owrx.source",
|
|
|
|
"owrx.service",
|
|
|
|
"owrx.controllers",
|
2021-02-15 14:29:02 +00:00
|
|
|
"owrx.controllers.settings",
|
2021-01-20 16:01:46 +00:00
|
|
|
"owrx.property",
|
|
|
|
"owrx.form",
|
2021-02-11 12:55:06 +00:00
|
|
|
"owrx.config",
|
2021-01-20 16:01:46 +00:00
|
|
|
"csdr",
|
|
|
|
"htdocs",
|
2021-02-06 15:43:54 +00:00
|
|
|
"owrxadmin",
|
2021-01-20 16:01:46 +00:00
|
|
|
]
|
|
|
|
),
|
2019-12-28 00:24:07 +00:00
|
|
|
package_data={"htdocs": [f[len("htdocs/") :] for f in glob("htdocs/**/*", recursive=True)]},
|
2021-02-06 15:44:40 +00:00
|
|
|
entry_points={"console_scripts": ["openwebrx=owrx.__main__:main", "openwebrx-admin=owrxadmin.__main__:main"]},
|
2020-04-14 20:32:31 +00:00
|
|
|
url="https://www.openwebrx.de/",
|
2020-01-09 21:24:39 +00:00
|
|
|
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
|
|
|
)
|