mirror of
https://github.com/verigak/progress.git
synced 2025-12-08 19:33:24 +00:00
migrate setup.py to pyproject.toml
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
include README.rst LICENSE
|
||||
include test_*.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'
|
||||
|
||||
39
pyproject.toml
Normal file
39
pyproject.toml
Normal 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__"}
|
||||
31
setup.py
31
setup.py
@@ -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',
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user