File: setup.py

package info (click to toggle)
pastel 0.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 296 kB
  • sloc: python: 532; sh: 7; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 1,649 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- coding: utf-8 -*-
from setuptools import setup

packages = \
['pastel', 'tests']

package_data = \
{'': ['*']}

setup_kwargs = {
    'name': 'pastel',
    'version': '0.2.1',
    'description': 'Bring colors to your terminal.',
    'long_description': "Pastel: Bring colors to your terminal\n#####################################\n\nPastel is a simple library to help you colorize strings in your terminal.\n\nIt comes bundled with predefined styles:\n\n* ``info``: green\n* ``comment``: yellow\n* ``question``: black on cyan\n* ``error``: white on red\n\n.. image:: https://raw.githubusercontent.com/sdispater/pastel/master/assets/screenshot.png\n\n\nFeatures\n========\n\n* Use predefined styles or add you own.\n* Disable colors all together by calling ``with_colors(False)``.\n* Automatically disables colors if the output is not a TTY.\n* Used in `cleo <https://github.com/sdispater/cleo>`_.\n* Supports Python **2.7+**, **3.5+** and **PyPy**.\n\n\nUsage\n=====\n\n.. code-block:: python\n\n    >>> import pastel\n    >>> print(pastel.colorize('<info>Information</info>'))\n    'Information'  # Green string by default\n    >>> print(pastel.colorize('<fg=red;options=bold>This is bold red</>'))\n    'This is bold red'\n\n\nInstallation\n============\n\n.. code-block::\n\n    pip install pastel\n",
    'author': 'Sébastien Eustace',
    'author_email': 'sebastien@eustace.io',
    'maintainer': None,
    'maintainer_email': None,
    'url': 'https://github.com/sdispater/pastel',
    'packages': packages,
    'package_data': package_data,
    'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
}


setup(**setup_kwargs)