-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
45 lines (40 loc) · 1.31 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import codecs
from glob import glob
from os.path import abspath, basename, dirname, join, splitext
import setuptools
def read(*parts):
"""Read a file in this repository."""
here = abspath(dirname(__file__))
with codecs.open(join(here, *parts), 'r') as file_:
return file_.read()
setuptools.setup(
name='dzcb',
use_scm_version=True,
description='DMR Zone Channel Builder',
long_description=read('README.md'),
long_description_content_type='text/markdown',
author='Masen Furer',
author_email='m_github@0x26.net',
url='https://github.com/mycodeplug/dzcb',
package_dir={"": 'src'},
package_data={'dzcb': ['data/*.json', 'data/*.csv', 'data/k7abd/*.csv', 'data/farnsworth/*.json', 'data/dmrconfig/*.conf']},
packages=setuptools.find_packages('src'),
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
python_requires='>=3.7,<4',
setup_requires=[
'setuptools_scm >= 3.3',
],
install_requires=[
'appdirs==1.4.4',
'attrs',
'geopy==2.1.0',
'importlib-resources',
'requests~=2.31',
],
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
)