8 Commits

Author SHA1 Message Date
Georgios Verigakis
200e1f44da Merge pull request #112 from Precioussheep/feature/build-migration
migrate setup.py to pyproject.toml
2025-07-01 08:18:14 +03:00
precioussheep
715467d4d0 migrate setup.py to pyproject.toml 2025-06-02 10:54:02 +10:00
Georgios Verigakis
1f658bc627 Merge pull request #111 from snoyes/patch-1
Update README.rst
2024-10-29 10:11:14 +02:00
Scott Noyes
eebaa99c82 Update README.rst
Fix spelling error
2024-10-28 07:56:43 -05:00
Georgios Verigakis
52de04b95d Merge pull request #108 from tobek/patch-1
Fix typo in test_progress.py
2023-05-10 08:35:51 +02:00
Toby Fox
bdce3afb5e Fix typo in test_progress.py 2023-05-09 21:49:28 +01:00
Georgios Verigakis
0a5fc077b2 Merge pull request #99 from VSS-DEV/test-install
Update setup.py
2021-11-15 10:09:14 +02:00
VSS-DEV
3beeeb7716 Update setup.py 2021-11-14 15:33:43 +03:00
6 changed files with 42 additions and 34 deletions

View File

@@ -1,2 +0,0 @@
include README.rst LICENSE
include test_*.py

View File

@@ -86,7 +86,7 @@ eta avg * remaining
eta_td eta as a timedelta (useful for printing as a string)
========== ================================
Instead of passing all configuration options on instatiation, you can create
Instead of passing all configuration options on instantiation, you can create
your custom subclass:
.. code-block:: python

View File

@@ -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'

39
pyproject.toml Normal file
View File

@@ -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__"}

View File

@@ -1,29 +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',
]
)

View File

@@ -33,7 +33,7 @@ for bar_cls in (IncrementalBar, PixelBar, ShadyBar):
bar.next()
sleep()
bar = IncrementalBar(bold('Corolored'), color='green')
bar = IncrementalBar(bold('Colored'), color='green')
for i in bar.iter(range(200)):
sleep()