Skip to content

Commit

Permalink
updated setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchmie committed Feb 12, 2024
1 parent e7d078d commit 719b390
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pkg_resources
import os
import re
from setuptools import setup, find_packages

module_name = "scraibe"
Expand All @@ -22,6 +22,11 @@

version["ISRELEASED"] = True if "ISRELEASED" in os.environ else False

############### load requirements ###############

with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith('#')]

if __name__ == "__main__":

setup(
Expand All @@ -30,10 +35,7 @@
packages=find_packages(),
python_requires=">=3.8",
readme="README.md",
install_requires = [str(r) for r in pkg_resources.parse_requirements(
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
)
],
install_requires = requirements,
extras_require= {
"app" : "scraibe-webui @ https://github.com/JSchmie/ScrAIbe-WebUI"
}
Expand Down

0 comments on commit 719b390

Please sign in to comment.