Skip to content

Commit 05d0529

Browse files
committed
Update setup.py
1 parent 84af92c commit 05d0529

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
# or for editable/develop mode with: pip install -e .
44

55

6+
import os
67
from setuptools import setup, find_packages
7-
from pathlib import Path
88

99
from pypef import __version__
1010

1111

12-
this_directory = Path(__file__).parent
13-
long_description = Path.joinpath(this_directory, "README.md").read_text()
12+
directory_readme = os.path.join(os.path.dirname(__file__), "README.md")
13+
with open(directory_readme, 'r') as readme:
14+
long_description = readme.read()
15+
16+
long_description = long_description.replace(".github/imgs/", "https://github.com/niklases/PyPEF/raw/main/.github/imgs/")
1417

1518
with open("requirements.txt", "r", encoding="utf-8") as install_requirements:
1619
requirements = install_requirements.read()

0 commit comments

Comments
 (0)