-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SwaANSI 0.0.4 - Added setup.py for publishing.
- Loading branch information
Showing
2 changed files
with
26 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# swa-ansi | ||
Enable setting colors and attributes on text strings | ||
# SwaANSI | ||
|
||
<p>Enable wrapping text with color and attributes per ANSI escape sequences.</p> | ||
![Python package](https://github.com/swajime/ansi/workflows/Python%20package/badge.svg) |
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,22 @@ | ||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="SwaANSI-pkg-swajime", | ||
version="0.0.4", | ||
author="John Simpson", | ||
author_email="john@swajime.com", | ||
description="Enable wrapping text with color and attributes.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/swajime/ansi", | ||
packages=setuptools.find_packages(), | ||
classifiers=[ | ||
"Programming Language :: Python", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires='>=2.7', | ||
) |