Skip to content

Commit 0fe8880

Browse files
prepare for merge
1 parent 7640135 commit 0fe8880

File tree

3 files changed

+9
-27
lines changed

3 files changed

+9
-27
lines changed

.github/workflows/e2e-docker-server-111.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
sbcli_cmd:
1616
description: 'Command for sbcli execution'
1717
required: true
18-
default: 'sbcli-down'
18+
default: 'sbcli-dev'
1919
ndcs:
2020
description: 'Value for NDCS'
2121
required: false

setup.py

+5-23
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
from setuptools import setup, find_packages
44

5-
from setuptools.command.install import install
6-
from setuptools.command.build import build
5+
from setuptools.command.install import install as _install
76

87

98
def _post_install():
@@ -20,26 +19,12 @@ def _post_install():
2019
_, out = getstatusoutput(f'source {path}')
2120

2221

23-
class CustomInstallCommand(install):
22+
class install(_install):
2423
def run(self):
24+
_install.run(self)
2525
self.execute(_post_install, (), msg="Running post install task")
26-
print("**"*50)
27-
_post_install()
28-
install.run(self)
2926

30-
class CustomBuildCommand(build):
31-
def run(self):
32-
self.execute(_post_install, (), msg="Running post install task")
33-
print("**"*50)
34-
_post_install()
35-
build.run(self)
36-
37-
#
38-
# class CustomInstallCommand(install):
39-
# """Customized setuptools install command - prints a friendly greeting."""
40-
# def run(self):
41-
# print "Hello, developer, how are you? :)"
42-
# install.run(self)
27+
4328
def get_env_var(name, default=None):
4429
if not name:
4530
return False
@@ -110,8 +95,5 @@ def get_requirements():
11095
'': ["/etc/simplyblock/requirements.txt"],
11196
'/etc/simplyblock': ["requirements.txt"]
11297
},
113-
cmdclass={
114-
# 'install': CustomInstallCommand,
115-
'build': CustomBuildCommand
116-
},
98+
cmdclass={'install': install},
11799
)

simplyblock_core/env_var

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
SIMPLY_BLOCK_COMMAND_NAME=sbcli-down
2-
SIMPLY_BLOCK_VERSION=0.5.0
1+
SIMPLY_BLOCK_COMMAND_NAME=sbcli-dev
2+
SIMPLY_BLOCK_VERSION=13.0.19
33

4-
SIMPLY_BLOCK_DOCKER_IMAGE=public.ecr.aws/simply-block/simplyblock:down
4+
SIMPLY_BLOCK_DOCKER_IMAGE=public.ecr.aws/simply-block/simplyblock:main
55
DOCKER_USER=hamdysimplyblock

0 commit comments

Comments
 (0)