From 8dd7b6cc252e8fcefa51493c90cf38287025d783 Mon Sep 17 00:00:00 2001 From: Sooyoung98 Date: Sat, 6 Jan 2024 16:14:27 +0900 Subject: [PATCH] fix: modified parts of code related to docker and versioning --- Dockerfile | 2 +- pkg/pip_requirements.txt | 2 -- src/setup.py | 25 +++++++++---------------- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index b15aee0..61612a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-slim +FROM cloudforet/python-core:1 ENV PYTHONUNBUFFERED 1 ENV SPACEONE_PORT 50051 diff --git a/pkg/pip_requirements.txt b/pkg/pip_requirements.txt index 12f7a0c..f3cd717 100644 --- a/pkg/pip_requirements.txt +++ b/pkg/pip_requirements.txt @@ -1,6 +1,4 @@ cachetools<5.0 -spaceone-core -spaceone-api schematics requests pandas diff --git a/src/setup.py b/src/setup.py index 826c161..3f25653 100644 --- a/src/setup.py +++ b/src/setup.py @@ -16,27 +16,20 @@ from setuptools import setup, find_packages -with open('VERSION', 'r') as f: +with open("VERSION", "r") as f: VERSION = f.read().strip() f.close() setup( - name='plugin-sse-cost-datasource', + name="plugin-sse-cost-datasource", version=VERSION, - description='Data source plugin for SSE', - long_description='', - url='https://www.spaceone.dev/', - author='MEGAZONE SpaceONE Team', - author_email='admin@spaceone.dev', - license='Apache License 2.0', + description="Data source plugin for SSE", + long_description="", + url="https://www.spaceone.dev/", + author="MEGAZONE SpaceONE Team", + author_email="admin@spaceone.dev", + license="Apache License 2.0", packages=find_packages(), - install_requires=[ - 'spaceone-core', - 'spaceone-api', - 'schematics', - 'requests', - 'pandas', - 'numpy' - ], + install_requires=["spaceone-api", "schematics", "requests", "pandas", "numpy"], zip_safe=False, )