-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from nschloe/cleanplotlib
Cleanplotlib
- Loading branch information
Showing
11 changed files
with
773 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel"] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[metadata] | ||
name = stressberry | ||
version = 0.3.0 | ||
author = Nico Schlömer | ||
email = [email protected] | ||
description = Stress tests for the Raspberry Pi | ||
url = https://github.com/nschloe/stressberry | ||
project_urls = | ||
Code=https://github.com/nschloe/stressberry | ||
Issues=https://github.com/nschloe/stressberry/issues | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
license = GPLv3 | ||
platforms = any | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Topic :: Utilities | ||
|
||
[options] | ||
packages = find: | ||
# importlib_metadata can be removed when we support Python 3.8+ only | ||
install_requires = | ||
cleanplotlib | ||
importlib_metadata | ||
matplotlib | ||
pyyaml | ||
python_requires = >=3.6 | ||
setup_requires = | ||
setuptools>=42 | ||
wheel | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
stressberry-run = stressberry.cli:run | ||
stressberry-plot = stressberry.cli:plot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
__author__ = "Nico Schlömer" | ||
__email__ = "[email protected]" | ||
__copyright__ = f"Copyright (c) 2017-2020, {__author__} <{__email__}>" | ||
__license__ = "License :: OSI Approved :: MIT License" | ||
__version__ = "0.2.3" | ||
__maintainer__ = "Nico Schlömer" | ||
__status__ = "Development Status :: 4 - Beta" | ||
try: | ||
# Python 3.8 | ||
from importlib import metadata | ||
except ImportError: | ||
import importlib_metadata as metadata | ||
|
||
try: | ||
__version__ = metadata.version("stressberry") | ||
except Exception: | ||
__version__ = "unknown" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
from . import cli | ||
from .__about__ import ( | ||
__author__, | ||
__copyright__, | ||
__email__, | ||
__license__, | ||
__status__, | ||
__version__, | ||
) | ||
from .__about__ import __version__ | ||
from .main import stress_cpu | ||
|
||
__all__ = [ | ||
"__author__", | ||
"__email__", | ||
"__copyright__", | ||
"__license__", | ||
"__version__", | ||
"__status__", | ||
"cli", | ||
"stress_cpu", | ||
] | ||
__all__ = ["__version__", "cli", "stress_cpu"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import sys | ||
|
||
from ..__about__ import __copyright__, __version__ | ||
from ..__about__ import __version__ | ||
|
||
|
||
def _get_version_text(): | ||
|
@@ -12,6 +12,6 @@ def _get_version_text(): | |
sys.version_info.minor, | ||
sys.version_info.micro, | ||
), | ||
__copyright__, | ||
"Copyright (c) 2017-2020 Nico Schlömer <[email protected]>", | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters