diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..b562f73 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include tests *.py diff --git a/README.md b/README.md index 1f6a407..5f34ee0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ import linalg as la print( la.Solution( la.System( - la.Matrix( + la.TridiagonalMatrix( [4, 9], [23, 5], [5, 16, 2] diff --git a/linalg/__init__.py b/linalg/__init__.py index 11f259f..40cf9cd 100644 --- a/linalg/__init__.py +++ b/linalg/__init__.py @@ -1,3 +1,5 @@ +__version__ = '0.0.1' + from .base.any_vector import * from .base.any_matrix import * from .base.any_system import * diff --git a/pyproject.toml b/pyproject.toml index 479d38e..1abca0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,6 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + [tool.mypy] ignore_missing_imports = true diff --git a/setup.cfg b/setup.cfg index f7f1cf4..41c1605 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,25 @@ +[metadata] +name = linalg +version = attr: linalg.__version__ +author = Fedor Pashin +author_email = fedorpashin@icloud.com +description = Linear algebra in object-oriented way. +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/fedorpashin/linalg +license = MIT License +license_file = LICENSE.txt + +[options] +zip_safe = False +package_dir = = . +packages = find_namespace: +install_requires = + final_class + overrides + multimethod + numpy + [flake8] ignore = F811, F401, F403 max-line-length = 120