Skip to content

Commit

Permalink
improve package metadata
Browse files Browse the repository at this point in the history
* use README.rst as long description
* add link to documentation
* move setup.cfg metadata into pyproject.toml
  • Loading branch information
maurerle committed Oct 9, 2024
1 parent b2e7c88 commit ce39289
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 25 deletions.
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ pyglpk
:target: http://pyglpk.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Fork of T. Finley's PyGLPK module, available through `pip install glpk`
Fork of T. Finley's PyGLPK module, available through ``pip install glpk``.

You can find the documentation on https://pyglpk.readthedocs.io/

Overview
--------
Expand Down
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,43 @@
[build-system]
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]

[project]
name = "glpk"
description = "PyGLPK, a Python module encapsulating GLPK"
dynamic = ["version"]

authors = [{ name = "Thomas Finley", email = "[email protected]"}]

maintainers = [
{name = "Bradford D. Boyle", email = "[email protected]"}
]
license = {text = "GPL-3.0"}
readme = "README.rst"
keywords = ["glpk", "optimization"]

classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: C",
"Programming Language :: Python :: 3 :: Only",
"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",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",

]
requires-python = ">=3"

[project.urls]
Homepage = "https://github.com/bradfordboyle/pyglpk"
Repository = "https://github.com/bradfordboyle/pyglpk"
Documentation = "https://pyglpk.readthedocs.io/"
Issues = "https://github.com/bradfordboyle/pyglpk/issues"


[tool.setuptools_scm]
23 changes: 0 additions & 23 deletions setup.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py27,py36,py37
envlist = py39,py310,py311,py312

[testenv]
deps =
Expand Down

0 comments on commit ce39289

Please sign in to comment.