diff --git a/README.md b/README.md index d86b16d..212a86c 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,8 @@ the simplicial complexes are, and how homologies are defined: ## News -* 07/16/2023: `mogutsa` 0.4.2 released. +* 09/19/2024: `mogutda` 0.4.3 released. +* 07/16/2024: `mogutsa` 0.4.2 released. * 11/23/2023: `mogutda` 0.4.1 released. * 08/18/2023: `mogutda` 0.4.0 released. * 06/20/2023: `mogutda` 0.3.5 released. diff --git a/docs/conf.py b/docs/conf.py index 21c1a59..e6f207c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -60,7 +60,7 @@ # The short X.Y version. version = u'0.4' # The full version, including alpha/beta/rc tags. -release = u'0.4.2' +release = u'0.4.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/history.rst b/docs/history.rst index 5b434e4..bf0bc77 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -10,7 +10,7 @@ However, `mogu` is simply a collection of unrelated numerical routines with a lo dependencies, but the part of TDA can be quite independent. In order to provide other researchers and developers an independent package, which is compact (without -unecessary alternative packages to load), and efficient, I decided to modularize +unnecessary alternative packages to load), and efficient, I decided to modularize the codes of TDA separately, and name this package `mogutda`. .. _mogu: https://pypi.org/project/mogu/ diff --git a/docs/index.rst b/docs/index.rst index 09c480c..1fe0384 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -16,7 +16,7 @@ draw some insights from them. A lot of machine learning algorithms deal with distances, which are extremely useful, but they miss the information the data may carry from their geometry. -`mogutda` runs in Python 3.8, 3.9, 3.10, and 3.11. +`mogutda` runs in Python 3.8, 3.9, 3.10, 3.11, and 3.12. Contributors: diff --git a/docs/news.rst b/docs/news.rst index 24b38c3..a5142df 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -1,7 +1,8 @@ News ==== -* 07/16/2023: `mogutsa` 0.4.2 released. +* 09/19/2024: `mogutda` 0.4.3 released. +* 07/16/2024: `mogutda` 0.4.2 released. * 11/23/2023: `mogutda` 0.4.1 released. * 08/18/2023: `mogutda` 0.4.0 released. * 06/20/2023: `mogutda` 0.3.5 released. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..e010846 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,42 @@ +[build-system] +requires = ["setuptools", "setuptools-scm", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "mogutda" +version = "0.4.3" +authors = [ + {name = "Kwan Yuet Stephen Ho", email = "stephenhky@yahoo.com.hk"} +] +description = "Topological Data Analysis in Python" +readme = {file = "README.md", content-type = "text/markdown"} +license = {text = "MIT"} +keywords = ["mogutda", "numerical methods", "topology", "data", "algebraic topology"] +requires-python = ">=3.8" +classifiers = [ + "Topic :: Scientific/Engineering :: Mathematics", + "Topic :: Scientific/Engineering :: Physics", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "License :: OSI Approved :: MIT License", + "Intended Audience :: Developers", + "Intended Audience :: Education", + "Intended Audience :: Information Technology", + "Intended Audience :: Science/Research" +] +dependencies = ["numpy>=1.16.0", "scipy>=1.10.0", "networkx>=2.0", "matplotlib>=3.3.0"] + +[project.urls] +Documentation = "https://mogutda.readthedocs.io" +Repository = "https://github.com/stephenhky/MoguTDA" +Issues = "https://github.com/stephenhky/MoguTDA/issues" + +[tool.setuptools] +packages = ["mogutda"] +zip-safe = false + +[project.optional-dependencies] +test = ["unittest"] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 972a315..0000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -numpy>=1.16.0 -scipy>=1.10.0 -networkx>=2.0 -matplotlib>=3.3.0 diff --git a/setup.py b/setup.py deleted file mode 100644 index 3bb3773..0000000 --- a/setup.py +++ /dev/null @@ -1,51 +0,0 @@ - -from setuptools import setup - - -def readme(): - with open('README.md', 'r', encoding="utf-8") as f: - return f.read() - - -def package_description(): - text = open('README.md', 'r', encoding="utf-8").read() - startpos = text.find('## Introduction') - return text[startpos:] - - -def install_requirements(): - return [ - package_string.strip() - for package_string in open('requirements.txt', 'r', encoding="utf-8") - ] - - -setup(name='mogutda', - version="0.4.2", - description="Topological Data Analysis in Python", - long_description=package_description(), - long_description_content_type='text/markdown', - classifiers=[ - "Topic :: Scientific/Engineering :: Mathematics", - "Topic :: Scientific/Engineering :: Physics", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Information Technology", - "Intended Audience :: Science/Research" - ], - keywords="mogutda numerics topology data", - url="https://github.com/stephenhky/MoguTDA", - author="Kwan Yuet Stephen Ho", - author_email="stephenhky@yahoo.com.hk", - license='MIT', - packages=['mogutda',], - install_requires=install_requirements(), - include_package_data=True, - test_suite="test", - zip_safe=False) -