-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
63 lines (59 loc) · 2.21 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='nrf-sniffer-cli',
use_scm_version=True,
setup_requires=["setuptools_scm"],
description='Python libraries for nRF Sniffer',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/embedded-community/nrf-sniffer-cli',
author='Matias Karhumaa',
author_email='[email protected]',
# Classifiers help users find your project by categorizing it.
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[ # Optional
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
keywords="ble sniffer bluetooth",
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
entry_points={
'console_scripts': [
'nrf-sniffer-cli = SnifferAPI.cli:main'
]
},
python_requires='>=3.8, <=3.13',
install_requires=[
'pyserial>=3.4',
'psutil'
],
extras_require={
'dev': ['pytest', 'pytest-cov', 'pylint', 'coverage', 'mock']
},
project_urls={ # Optional
'Source': 'https://github.com/embedded-community/nrf-sniffer-cli',
}
)