diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index ef7c4cb..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -include README.rst LICENSE -include test_*.py diff --git a/progress/__init__.py b/progress/__init__.py index b434b30..08a1ee8 100644 --- a/progress/__init__.py +++ b/progress/__init__.py @@ -24,7 +24,7 @@ except ImportError: from time import time as monotonic -__version__ = '1.6' +__version__ = '1.6.1' HIDE_CURSOR = '\x1b[?25l' SHOW_CURSOR = '\x1b[?25h' diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..ac8595d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,39 @@ +[build-system] +requires = ["setuptools >= 77.0.3"] +build-backend = "setuptools.build_meta" + +[project] +name = "progress" +dynamic = ["version"] +description = "Easy to use progress bars" +readme = "README.rst" +authors = [{ name = "Georgios Verigakis", email = "verigak@gmail.com" }] +maintainers = [{ name = "Georgios Verigakis", email = "verigak@gmail.com" }] +license = "ISC" +license-files = ["LICENSE"] +requires-python = ">=3.6" + +keywords = ["progress", "bar"] +classifiers = [ + "Environment :: Console", + "Intended Audience :: Developers", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "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", + "Programming Language :: Python :: 3.13", +] + +[project.urls] +Homepage = "https://github.com/verigak/progress/" +Repository = "https://github.com/verigak/progress.git" +Issues = "https://github.com/verigak/progress/issues" + +[tool.setuptools] +packages = ["progress"] + +[tool.setuptools.dynamic] +version = {attr = "progress.__version__"} diff --git a/setup.py b/setup.py deleted file mode 100755 index bd3a15e..0000000 --- a/setup.py +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env python - -from setuptools import setup - -import progress - - -setup( - name='progress', - version=progress.__version__, - description='Easy to use progress bars', - long_description=open('README.rst').read(), - author='Georgios Verigakis', - author_email='verigak@gmail.com', - url='http://github.com/verigak/progress/', - license='ISC', - packages=['progress'], - classifiers=[ - 'Environment :: Console', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: ISC License (ISCL)', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - ] -)