-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
44 lines (42 loc) · 1.45 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
import setuptools
import io
import re
import HersheyFonts
with io.open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
regex = r"\[!\[(.*?)\].*?\].*?\)\n*"
long_description = re.sub(regex, '', long_description)
setuptools.setup(
name="Hershey Fonts",
version=HersheyFonts.__version__,
author="Attila",
author_email="[email protected]",
description="Vector font package with built-in fonts and font rendering iterators",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/apshu/HersheyFonts",
packages=setuptools.find_packages(),
license="MIT License",
platforms=['all'],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.7",
"Topic :: Text Processing :: Fonts",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": [
"HersheyFonts_demo=HersheyFonts.HersheyFonts:main_script",
],
"gui_scripts": [
"HersheyFonts_demo=HersheyFonts.HersheyFonts:main",
]
},
python_requires='>=2.7',
)