diff --git a/README.rst b/README.rst index 9bd0a68..045d2fb 100644 --- a/README.rst +++ b/README.rst @@ -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 -------- diff --git a/pyproject.toml b/pyproject.toml index 1184406..f0eb7bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "tfinley@gmail.com"}] + +maintainers = [ + {name = "Bradford D. Boyle", email = "bradford.d.boyle@gmail.com"} +] +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] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index d09204c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,23 +0,0 @@ -[metadata] -name = glpk -description = PyGLPK, a Python module encapsulating GLPK. -long_description = The PyGLPK module gives one access to the functionality of the GNU Linear Programming Kit. -author = Thomas Finley -author_email = tfinley@gmail.com -url = https://github.com/bradfordboyle/pyglpk -maintainer = Bradford D. Boyle -maintainer_email = bradford.d.boyle@gmail.com -license = GPL -classifiers = - Development Status :: 3 - Alpha - Intended Audience :: Science/Research - License :: OSI Approved :: GNU General Public License (GPL) - Programming Language :: C - Programming Language :: Python - Operating System :: POSIX - Operating System :: MacOS :: MacOS X - Topic :: Scientific/Engineering :: Mathematics - Topic :: Software Development :: Libraries :: Python Modules - -[options] -setup_requires = setuptools_scm diff --git a/tox.ini b/tox.ini index c9428d7..caf010b 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =