Skip to content

Commit

Permalink
requirement managed old school
Browse files Browse the repository at this point in the history
  • Loading branch information
nl78 committed Feb 10, 2025
1 parent 1aca379 commit ddf2356
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from setuptools import setup
import os
import re
from pathlib import Path

from fmu_manipulation_toolbox.version import __author__ as author, __version__ as default_version

Expand All @@ -22,11 +21,6 @@
except Exception as e:
print(f"Cannot create __version__.py: {e}")

requirements = []
with open(Path(__file__).parent / "requirements.txt", newline='') as req_file:
for line in req_file:
requirements.append(line)

setup(
name="fmu_manipulation_toolbox",
version=version,
Expand Down Expand Up @@ -61,7 +55,12 @@
FMU Manipulation Toolbox also allows to group FMU's inside FMU Containers.
""",
install_requires=requirements,
install_requires=[
"PySide6 >= 6.8.0",
"xmlschema >= 3.3.1",
"elementpath >= 4.4.0",
"colorama >= 0.4.6",
],
)

os.remove("fmu_manipulation_toolbox/__version__.py")

0 comments on commit ddf2356

Please sign in to comment.