forked from pwaller/pyfiglet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·64 lines (60 loc) · 2.05 KB
/
setup.py
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
#!/usr/bin/env python
from setuptools import setup
import sys
from os import path
import shutil
# Set up minimum fonts if none already present
here = path.abspath(path.dirname(__file__))
pkg_src = path.join(here, 'pyfiglet', 'fonts')
repo_src = path.join(here, 'pyfiglet', 'fonts-standard')
if not path.isdir(pkg_src):
shutil.copytree(repo_src, pkg_src)
def get_version():
sys.path.insert(0, 'pyfiglet')
from version import __version__
sys.path.pop(0)
return __version__
setup(
name='pyfiglet',
python_requires=">=3.9",
version=get_version(),
description='Pure-python FIGlet implementation',
long_description=open("README.md").read(),
long_description_content_type='text/markdown',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
# For Katakana
'Natural Language :: Japanese',
# For Cyrillic
'Natural Language :: Bulgarian',
'Natural Language :: Bosnian',
'Natural Language :: Macedonian',
'Natural Language :: Russian',
'Natural Language :: Serbian',
'Operating System :: Unix',
'Programming Language :: Python',
'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 :: 3.11',
'Topic :: Text Processing',
'Topic :: Text Processing :: Fonts',
],
author='Peter Waller (Thanks to Christopher Jones and Stefano Rivera)',
author_email='p@pwaller.net',
url='https://github.com/pwaller/pyfiglet',
packages=['pyfiglet', 'pyfiglet.fonts'],
package_data={'pyfiglet.fonts': ['*.flf', '*.flc']},
entry_points={
'console_scripts': [
'pyfiglet = pyfiglet:main',
],
}
)