Skip to content

Commit a8985e5

Browse files
committed
fix long_description
1 parent 50103e1 commit a8985e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
from setuptools import setup
22

3+
def read_text(file_name: str):
4+
with open(file_name, "r") as fh:
5+
return fh.read()
36
setup(
47
name="cad-pyrx",
58
version="2.1.6",
@@ -13,7 +16,7 @@
1316
include_package_data=True,
1417
package_data={"pyrx": ["*.arx", "*.brx", "*.grx", "*.zrx"]},
1518
install_requires=["wxPython>=4.2.2", "debugpy>=1.8.0", "pywin32"],
16-
long_description = ("CADPyRx.md").read_text(),
19+
long_description = read_text("CADPyRx.md"),
1720
keywords=[
1821
"AutoCAD",
1922
"BricsCAD",

0 commit comments

Comments
 (0)