Skip to content

Commit

Permalink
Merge pull request #76 from DeepAI-Research/antbaez/fixing_issues
Browse files Browse the repository at this point in the history
read version.txt
  • Loading branch information
antbaez9 authored Jul 10, 2024
2 parents 8f7efe1 + 8ed9e5b commit 79961be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
long_description = [line for line in long_description if not "<img" in line]
long_description = "\n".join(long_description)

# with open(os.path.join(file_path, "version.txt"), "r") as fh:
# version_content = fh.read()
# version = version_content.split("\n")[0].strip()
with open(os.path.join(file_path, "version.txt"), "r") as fh:
version_content = fh.read()
version = version_content.split("\n")[0].strip()

with open(os.path.join(file_path, "requirements.txt"), "r") as fh:
install_requires = fh.read()
Expand All @@ -24,7 +24,7 @@

setup(
name="distributask",
# version=version,
version=version,
description="Simple task manager and job queue for distributed rendering. Built on celery and redis.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 79961be

Please sign in to comment.