|
18 | 18 | from setuptools import setup, find_packages
|
19 | 19 |
|
20 | 20 | setup(
|
21 |
| - name='spaceone-core', |
22 |
| - version=os.environ.get('PACKAGE_VERSION'), |
23 |
| - description='Cloudforet Core Library', |
24 |
| - long_description='', |
25 |
| - url='https://cloudforet.io/', |
26 |
| - author='MEGAZONE Cloud Corp.', |
27 |
| - author_email='admin@spaceone.dev', |
28 |
| - license='Apache License 2.0', |
| 21 | + name="spaceone-core", |
| 22 | + version=os.environ.get("PACKAGE_VERSION"), |
| 23 | + description="Cloudforet Core Library", |
| 24 | + long_description="", |
| 25 | + url="https://cloudforet.io/", |
| 26 | + author="MEGAZONE Cloud Corp.", |
| 27 | + author_email="admin@spaceone.dev", |
| 28 | + license="Apache License 2.0", |
29 | 29 | packages=find_packages(),
|
30 | 30 | install_requires=[
|
31 | 31 | # grpc packages
|
32 |
| - 'protobuf==3.*', |
| 32 | + "protobuf==3.*", |
33 | 33 | # 'grpcio',
|
34 |
| - 'grpcio-reflection', |
35 |
| - 'google-api-core', |
36 |
| - 'grpcio-health-checking', |
37 |
| - |
| 34 | + "grpcio-reflection", |
| 35 | + "google-api-core", |
| 36 | + "grpcio-health-checking", |
| 37 | + # model packages |
| 38 | + "pydantic=1.*", |
| 39 | + "mongoengine", |
38 | 40 | # fastapi packages
|
39 |
| - 'fastapi', |
40 |
| - 'fastapi-utils', |
41 |
| - 'uvicorn', |
42 |
| - |
| 41 | + "fastapi", |
| 42 | + "fastapi-utils", |
| 43 | + "uvicorn", |
43 | 44 | # asyncio packages
|
44 |
| - 'asyncio', |
45 |
| - |
| 45 | + "asyncio", |
46 | 46 | # data parser packages
|
47 |
| - 'PyYAML', |
48 |
| - 'jsonschema', |
49 |
| - |
| 47 | + "PyYAML", |
| 48 | + "jsonschema", |
50 | 49 | # scheduler packages
|
51 |
| - 'schedule', |
52 |
| - 'scheduler-cron', |
53 |
| - |
| 50 | + "schedule", |
| 51 | + "scheduler-cron", |
54 | 52 | # cache packages
|
55 |
| - 'redis', |
56 |
| - 'cachetools', |
57 |
| - |
| 53 | + "redis", |
| 54 | + "cachetools", |
58 | 55 | # crypto(jwt) packages
|
59 |
| - 'pycryptodome', |
60 |
| - 'jwcrypto', |
61 |
| - 'python-jose', |
62 |
| - |
| 56 | + "pycryptodome", |
| 57 | + "jwcrypto", |
| 58 | + "python-jose", |
63 | 59 | # utils packages
|
64 |
| - 'python-dateutil', |
65 |
| - 'python-consul', |
66 |
| - 'dnspython', |
67 |
| - |
| 60 | + "python-dateutil", |
| 61 | + "python-consul", |
| 62 | + "dnspython", |
68 | 63 | # HTTP packages
|
69 |
| - 'requests', |
70 |
| - |
| 64 | + "requests", |
71 | 65 | # CLI packages
|
72 |
| - 'click', |
73 |
| - |
74 |
| - # model packages |
75 |
| - 'pydantic', |
76 |
| - 'mongoengine', |
77 |
| - |
| 66 | + "click", |
78 | 67 | # AWS packages
|
79 |
| - 'boto3', |
80 |
| - |
| 68 | + "boto3", |
81 | 69 | # test framework packages
|
82 |
| - 'unittest-xml-reporting', |
83 |
| - 'factory-boy', |
84 |
| - 'mongomock', |
85 |
| - |
| 70 | + "unittest-xml-reporting", |
| 71 | + "factory-boy", |
| 72 | + "mongomock", |
86 | 73 | # tracing packages
|
87 |
| - 'opentelemetry-api', |
88 |
| - 'opentelemetry-sdk', |
89 |
| - 'opentelemetry-exporter-otlp-proto-grpc', |
90 |
| - 'opentelemetry-instrumentation-logging', |
91 |
| - 'opentelemetry-exporter-prometheus' |
| 74 | + "opentelemetry-api", |
| 75 | + "opentelemetry-sdk", |
| 76 | + "opentelemetry-exporter-otlp-proto-grpc", |
| 77 | + "opentelemetry-instrumentation-logging", |
| 78 | + "opentelemetry-exporter-prometheus", |
92 | 79 | ],
|
93 | 80 | zip_safe=False,
|
94 | 81 | entry_points={
|
95 |
| - 'console_scripts': [ |
96 |
| - 'spaceone = spaceone.core.command:cli', |
| 82 | + "console_scripts": [ |
| 83 | + "spaceone = spaceone.core.command:cli", |
97 | 84 | ]
|
98 | 85 | },
|
99 | 86 | )
|
0 commit comments