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 455bc6c commit fc0e21dCopy full SHA for fc0e21d
setup.py
@@ -7,13 +7,13 @@
7
__here__ = pathlib.Path(__file__).parent
8
9
10
-def read(fname):
11
- with __here__ / fname as f:
+def read(path):
+ with path as f:
12
return f.read()
13
14
15
extra_files = {"WrightSim": ["VERSION"]}
16
-version = read("WrightSim" / "VERSION").read_text().strip()
+version = read(__here__ / "WrightSim" / "VERSION").read_text().strip()
17
18
19
setup(
@@ -39,7 +39,7 @@ def read(fname):
39
},
40
version=version,
41
description="A simulation package for multidimensional spectroscopy.",
42
- long_description=read("README.rst"),
+ long_description=read(__here__ / "README.rst"),
43
long_description_content_type="text/x-rst",
44
author="WrightSim Developers",
45
license="MIT",
0 commit comments