-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (61 loc) · 1.89 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
64
65
66
67
68
69
70
71
#!/usr/bin/env python
"""The setup script."""
from __future__ import annotations
from setuptools import find_packages, setup
with open("README.rst", encoding="utf-8") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst", encoding="utf-8") as history_file:
history = history_file.read()
requirements: list[str] = ["loguru>=0.5.3", "dynaconf>=3.1.7", "speedtest-cli>=2.1.3"]
requirements_dev: list[str] = [
"black>=21.5b0",
"codecov>=2.1.11",
"coverage>=5.5",
"flake8>=3.9.1",
"isort>=5.8.0",
"mypy>=0.812",
"pre-commit>=2.12.1",
"pylint>=2.8.2",
"pytest>=6.2.4",
"pytest-cov>=2.11.1",
"pytest-xdist>=2.2.1",
]
requirements_docs: list[str] = [
"Sphinx>=3.5.4",
"sphinx-autoapi>=1.8.1",
]
requirements_dev += requirements_docs
setup(
author="Kilian Helfenbein",
author_email="[email protected]",
python_requires=">=3.8",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="Python package to measure the current internet speed and write it to a log file.", # noqa: E501
setup_requires=[
"setuptools-git",
],
install_requires=requirements,
extras_require={
"dev": requirements_dev,
"docs": requirements_docs,
},
license="MIT",
long_description=readme + "\n\n" + history,
name="internet_speedtest_pi",
packages=find_packages(
include=["internet_speedtest_pi", "internet_speedtest_pi.*"]
),
include_package_data=True,
test_suite="tests",
url="https://github.com/khelfen/internet-speedtest-pi",
version="0.1.0",
zip_safe=False,
)