forked from cblearn/cblearn
-
Notifications
You must be signed in to change notification settings - Fork 0
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
23045fd
commit 2e207c1
Showing
9 changed files
with
102 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[run] | ||
cover_pylib = false | ||
omit = | ||
*/site-packages/* | ||
*/tests/* | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ | ||
RuntimeError | ||
NotImplementedError | ||
FileNotFoundError | ||
ImportError |
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,5 @@ | ||
[flake8] | ||
max-line-length = 127 | ||
exclude = .git,__pycache__,doc/,docs/,build/,dist/,archive/ | ||
per-file-ignores = | ||
__init__.py:F401 |
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,6 @@ | ||
[mypy] | ||
ignore_missing_imports = True | ||
strict_optional = False | ||
allow_redefinition = True | ||
show_error_context = False | ||
show_column_numbers = True |
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 @@ | ||
from ._version import __version__ | ||
|
||
__all__ = ['__version__'] |
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__ = "0.0.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,5 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--doctest-modules -ra -v" |
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,51 @@ | ||
# Static configuration of the distribution package, as defined by setuptools | ||
[metadata] | ||
name = ordcomp | ||
description = Machine Learning Toolkit for Ordinal Comparison in Python. | ||
long_description = file: README.md, LICENSE | ||
author = 'David-Elias Künstle' | ||
author_email = 'david-elias dot kuenstle at uni-tuebingen dot de' | ||
url = 'https://github.com/dekuenstle/ordcomp' | ||
classifierts = | ||
Development Status :: 1 - Planning | ||
Environment :: GPU :: NVIDIA CUDA | ||
Intended Audience :: Science/Research | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) | ||
Programming Language :: Python | ||
Topic :: Software Development | ||
Topic :: Scientific/Engineering | ||
Operating System :: Microsoft :: Windows | ||
Operating System :: POSIX | ||
Operating System :: Unix | ||
Operating System :: MacOS | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Typing :: Typed | ||
description-file = README.md | ||
license_files = LICENSE | ||
|
||
[options] | ||
python_requires = >=3.7 | ||
packages = find: | ||
zip_safe = False | ||
install_requires = | ||
numpy | ||
scipy | ||
scikit-learn | ||
|
||
[options.extras_require] | ||
bridge = | ||
rpy2 | ||
oct2py | ||
tests = | ||
pytest | ||
pytest-cov | ||
flake8 | ||
mypy | ||
docs = | ||
sphinx | ||
sphinx-gallery | ||
sphinx_rtd_theme | ||
numpydoc | ||
matplotlib |
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,13 @@ | ||
#! /usr/bin/env python | ||
""" Dynamic configuration of distribution package. """ | ||
|
||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
# get __version__ from _version.py | ||
ver_file = os.path.join('ordcomp', '_version.py') | ||
with open(ver_file) as f: | ||
exec(f.read()) | ||
|
||
setup(version=__version__) |