Skip to content

Commit

Permalink
Merge pull request #54 from stephenhky/develop
Browse files Browse the repository at this point in the history
Use pyproject.toml instead of setup.py for package distribution
  • Loading branch information
stephenhky authored Sep 20, 2024
2 parents 296a5aa + 22b1042 commit 660102e
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 60 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
3 changes: 2 additions & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
42 changes: 42 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"}
]
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"]
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

51 changes: 0 additions & 51 deletions setup.py

This file was deleted.

0 comments on commit 660102e

Please sign in to comment.