We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2e54e commit f7813b0Copy full SHA for f7813b0
setup.py
@@ -1,4 +1,3 @@
1
-import codecs
2
import os
3
4
from setuptools import find_packages, setup
@@ -10,10 +9,6 @@
10
9
exec(f.read(), about)
11
12
13
-def read(fname):
14
- return codecs.open(os.path.join(base_dir, fname), encoding="utf-8").read()
15
-
16
17
setup(
18
name="tikzplotlib",
19
version=about["__version__"],
@@ -23,7 +18,7 @@ def read(fname):
23
author_email=about["__email__"],
24
install_requires=["matplotlib >= 1.4.0", "numpy", "Pillow"],
25
20
description="Convert matplotlib figures into TikZ/PGFPlots",
26
- long_description=read("README.md"),
21
+ long_description=open("README.md").read(),
27
22
long_description_content_type="text/markdown",
28
license=about["__license__"],
29
python_requires=">=3",
0 commit comments