-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #338 from ofek/modernize-metadata
Update package metadata
- Loading branch information
Showing
13 changed files
with
76 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
$ve="$HOME\.virtualenvs\colorama" | ||
$bin="$ve\Scripts" | ||
|
||
& $bin\python.exe -m pip install --upgrade setuptools wheel | ||
& $bin\python.exe setup.py sdist bdist_wheel | ||
|
||
& $bin\python.exe -m pip install --upgrade build | ||
& $bin\python.exe -m build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[build-system] | ||
requires = [ | ||
"hatchling>=0.25.1", | ||
] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "colorama" | ||
description = "Cross-platform colored terminal text." | ||
readme = "README.rst" | ||
license = "BSD-3-Clause" | ||
requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*" | ||
authors = [ | ||
{ name = "Jonathan Hartley", email = "[email protected]" }, | ||
] | ||
keywords = [ | ||
"ansi", | ||
"color", | ||
"colour", | ||
"crossplatform", | ||
"terminal", | ||
"text", | ||
"windows", | ||
"xplatform", | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Terminals", | ||
] | ||
dynamic = [ | ||
"version", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/tartley/colorama" | ||
|
||
[tool.hatch.version] | ||
path = "colorama/__init__.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/colorama", | ||
"/demos", | ||
"/CHANGELOG.rst", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
include = [ | ||
"/colorama/*", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
$ve="$HOME\.virtualenvs\colorama" | ||
$bin="$ve\Scripts" | ||
$version="$(& $bin\python.exe setup.py --version)" | ||
|
||
# Upload to PyPI. | ||
& $bin\twine.exe upload dist\colorama-$version*.tar.gz dist\colorama-$version-*.whl | ||
|
||
& $bin\twine.exe upload dist\colorama-*.tar.gz dist\colorama-*.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mock>=1.0.1;python_version<"3.3" | ||
twine>=3.1.1 | ||
build | ||
-e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters