Skip to content

Commit fb8f503

Browse files
Fix dependencies in setup.py
1 parent 155a185 commit fb8f503

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

gitprof/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
from gitprof.cli import root
2525

26-
__version__ = "1.0.0"
26+
__version__ = "1.0.1"
2727

2828

2929
def get_version_message():

requirements-dev.txt

-61 Bytes
Binary file not shown.

requirements.txt

-31 Bytes
Binary file not shown.

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@
3030
with open("README.md", encoding="utf-8") as f:
3131
long_description = f.read()
3232

33-
dependencies = []
34-
3533
with open("requirements.txt", "r") as f:
36-
for line in f:
37-
dependencies.append(re.findall(r"\s*(.*?)\s*", line)[0])
34+
dependencies = re.findall(r"^\s*(.+?)\s*$", f.read(), flags=re.MULTILINE)
3835

3936
setup(
4037
name="gitprof",

0 commit comments

Comments
 (0)