-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0a0657
commit f5db983
Showing
10 changed files
with
97 additions
and
116 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 @@ | ||
include README.md | ||
include requirements.txt |
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,4 @@ | ||
pytest>=6.0.0 | ||
pytest-cov>=2.10.0 | ||
coverage>=5.0 | ||
flake8>=3.8.0 |
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", "numpy"] | ||
build-backend = "setuptools.build_meta" |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
__version__ = '3.0.4+5.git.gb0a0657' |
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,56 @@ | ||
[metadata] | ||
name = robustbase | ||
version = attr: robustbase.version.__version__ | ||
description = A Python Based Library to Calculate Estimators (Sn, Qn, MAD, IQR) | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/deepak7376/robustbase | ||
author = Deepak Yadav | ||
author_email = dky.united@gmail.com | ||
license = MIT | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Intended Audience :: Developers | ||
Topic :: Scientific/Engineering :: Mathematics | ||
License :: OSI Approved :: MIT License | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
keywords = robust statistics robustness Sn Qn MAD IQR | ||
|
||
[options] | ||
packages = find: | ||
include_package_data = true | ||
python_requires = >=3.0 | ||
install_requires = | ||
certifi>=2019.11.28 | ||
docutils>=0.15.2 | ||
numpy>=1.18.0 | ||
statistics>=1.0.3.5 | ||
|
||
[options.packages.find] | ||
where = robustbase | ||
|
||
[options.extras_require] | ||
dev = | ||
pytest>=6.0.0 | ||
pytest-cov>=2.10.0 | ||
coverage>=5.0 | ||
flake8>=3.8.0 | ||
|
||
[flake8] | ||
max-line-length = 88 | ||
exclude = | ||
.git, | ||
__pycache__, | ||
dist, | ||
build, | ||
.tox | ||
|
||
[tool:pytest] | ||
addopts = --cov=robustbase --cov-report=term-missing | ||
|
||
[aliases] | ||
test = pytest |
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,24 @@ | ||
[tox] | ||
envlist = py37, py38, py39, flake8 | ||
|
||
[testenv] | ||
deps = | ||
-rrequirements.txt | ||
-rdev-requirements.txt | ||
setenv = | ||
PYTHONPATH = {toxinidir} | ||
commands = | ||
pytest --cov=robustbase --cov-report=term-missing | ||
|
||
[testenv:flake8] | ||
deps = flake8 | ||
commands = flake8 robustbase tests | ||
|
||
[flake8] | ||
max-line-length = 88 | ||
exclude = | ||
.git, | ||
__pycache__, | ||
dist, | ||
build, | ||
.tox |
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,5 @@ | ||
import os | ||
|
||
|
||
def string(): | ||
try: | ||
with open(os.path.dirname(__file__) + "/VERSION", "r", encoding="utf-8") as fh: | ||
|