mirror of
https://github.com/ivan-usov-org/bec.git
synced 2025-04-21 18:20:01 +02:00
fix: fixed typo
This commit is contained in:
parent
6669bce3e1
commit
3cc44186ab
@ -1,12 +1,13 @@
|
|||||||
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
import subprocess
|
import subprocess
|
||||||
import os
|
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
current_path = pathlib.Path(__file__).parent.resolve()
|
current_path = pathlib.Path(__file__).parent.resolve()
|
||||||
utils = f"{current_path}/../bec_client_lib/"
|
utils = f"{current_path}/../bec_client_lib/"
|
||||||
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
"""load the version from the version file"""
|
"""load the version from the version file"""
|
||||||
version_file = os.path.join(current_path, "../semantic_release", "__init__.py")
|
version_file = os.path.join(current_path, "../semantic_release", "__init__.py")
|
||||||
@ -15,8 +16,9 @@ def get_version():
|
|||||||
version = res.split("=")[1]
|
version = res.split("=")[1]
|
||||||
return version.strip().strip('"')
|
return version.strip().strip('"')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
setup(install_requires=["lmfit"], version=get_version()
|
setup(install_requires=["lmfit"], version=get_version())
|
||||||
local_deps = [utils]
|
local_deps = [utils]
|
||||||
for dep in local_deps:
|
for dep in local_deps:
|
||||||
subprocess.run(f"pip install -e {dep}", shell=True, check=True)
|
subprocess.run(f"pip install -e {dep}", shell=True, check=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user