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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
# -*- coding: utf-8 -*-
"""Setup module."""
from setuptools import setup
MINIMAL_DESCRIPTION = '''ASCII art is also known as "computer text art".
It involves the smart placement of typed special characters or
letters to make a visual shape that is spread over multiple lines of text.
ART is a Python lib for text converting to ASCII art fancy.'''
def get_dev_requires():
"""Read dev-requirements.txt."""
requirements = open("dev-requirements.txt", "r").read()
return [x for x in requirements.split() if x]
def read_description():
"""Read README.md and CHANGELOG.md."""
try:
with open("README.md") as r:
description = "\n"
description += r.read()
with open("CHANGELOG.md") as c:
description += "\n"
description += c.read()
return description
except Exception:
return MINIMAL_DESCRIPTION
setup(
name='art',
packages=['art', 'art.data', 'art.tests'],
version='6.5',
description='ASCII Art Library For Python',
long_description=read_description(),
long_description_content_type='text/markdown',
author='Sepand Haghighi',
author_email='info@ascii-art.site',
url='https://github.com/sepandhaghighi/art',
keywords="ascii art python3 python text font non-ascii printing",
project_urls={
'Webpage': 'https://www.ascii-art.site',
'Source': 'https://github.com/sepandhaghighi/art',
'Tracker': 'https://github.com/sepandhaghighi/art/issues',
'Discord': 'https://discord.com/invite/FAAyq3QJqP',
},
install_requires=[],
extras_require={
"dev": get_dev_requires()
},
python_requires='>=3.6',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'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',
'Topic :: Text Processing :: Fonts',
'Topic :: Text Editors',
'Topic :: Text Processing :: General',
'Topic :: Utilities',
'Topic :: Multimedia',
'Topic :: Printing',
],
license='MIT',
include_package_data=True,
entry_points={
'console_scripts': [
'art = art.__main__:main',
]}
)
|