This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.46 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
"""Buchklub WBS (web-order-system)."""
import os
import re
from setuptools import setup
# Get __version__ from googlefonts_installer.py.
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(
here, 'googlefonts_installer.py'), encoding='utf8') as version:
VERSION = re.search(
r'^__version__ = [\'"]([^\'"]*)[\'"]',
version.read(), re.MULTILINE).group(1)
# Long description from readme and changelog.
with open(os.path.join(here, 'README.rst'), encoding='utf8') as readme:
README = readme.read()
with open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf8') as changelog:
CHANGELOG = changelog.read()
setup(
name='googlefonts_installer',
description='Google fonts installer utility.',
long_description=README + '\n\n' + CHANGELOG,
version=VERSION,
url='https://github.com/fabianbuechler/googlefonts_installer',
license='MIT',
author='Fabian Büchler',
author_email='fabian@buechler.io',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Fonts',
],
entry_points={'console_scripts': [
'googlefonts-installer=googlefonts_installer:main'
]},
py_modules=['googlefonts_installer'],
zip_safe=False,
)