This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update sys.config based on hm-pyhelper
update sys.config based on hm-pyhelper definition
- Loading branch information
Showing
8 changed files
with
57 additions
and
0 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
Empty file.
Empty file.
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 @@ | ||
from hm_pyhelper.miner_param import get_ecc_location |
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 @@ | ||
hm-pyhelper==0.13.56 |
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,2 @@ | ||
[flake8] | ||
max-line-length = 100 |
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,36 @@ | ||
# -*- coding: utf-8 -*- | ||
from distutils.core import setup | ||
from setuptools import find_packages | ||
import os | ||
|
||
base_name = 'hw_diag' | ||
|
||
# allow setup.py to be run from any path | ||
here = os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)) | ||
os.chdir(here) | ||
|
||
requires = [ | ||
line.strip() | ||
for line in open(os.path.join(here, "requirements.txt"), "r").readlines() | ||
] | ||
|
||
setup( | ||
name=base_name, | ||
version='1.0', | ||
author=u'Nebra Ltd.', | ||
author_email='[email protected]', | ||
include_package_data=True, | ||
packages=find_packages(), # include all packages under this directory | ||
description='Diagnostics tool for Nebra Helium Hotspot software.', | ||
long_description="", | ||
zip_safe=False, | ||
|
||
entry_points={ | ||
'console_scripts': [ | ||
'hm_diag = hw_diag.app:main', | ||
], | ||
}, | ||
|
||
# Adds dependencies | ||
install_requires=requires | ||
) |
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 @@ | ||
pytest | ||
pytest-cov | ||
flake8 |