2023-05-22 15:54:01 +08:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
from codecs import open
|
|
|
|
from os import path
|
|
|
|
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
|
|
|
|
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
|
|
|
long_description = f.read()
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='chassis',
|
2023-05-31 02:43:21 +08:00
|
|
|
version='0.0.2',
|
2023-05-22 15:54:01 +08:00
|
|
|
description='basic sdk',
|
|
|
|
long_description=long_description,
|
|
|
|
url='https://gitea.bearcatlog.com/BryantStudio/chassis',
|
|
|
|
|
|
|
|
author='BryantStudio Engineering',
|
|
|
|
author_email='bryantsisu@qq.book',
|
|
|
|
|
|
|
|
license='MIT',
|
|
|
|
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Operating System :: MacOS :: MacOS X",
|
|
|
|
"Operating System :: POSIX",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Topic :: Internet",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
],
|
2023-05-24 17:11:50 +08:00
|
|
|
platforms='any',
|
2023-05-22 15:54:01 +08:00
|
|
|
|
|
|
|
keywords='microservices basic sdk',
|
|
|
|
|
2023-05-30 19:44:15 +08:00
|
|
|
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
|
2023-05-24 17:11:50 +08:00
|
|
|
include_package_data=True,
|
2023-05-22 15:54:01 +08:00
|
|
|
|
|
|
|
install_requires=[
|
2023-05-30 06:06:49 +08:00
|
|
|
'python-dotenv==1.0.0',
|
2023-05-22 15:54:01 +08:00
|
|
|
'logstash_formatter==0.5.17',
|
|
|
|
'statsd==4.0.1',
|
2023-05-29 18:43:47 +08:00
|
|
|
'tenacity==8.2.2',
|
|
|
|
'cachetools==5.3.0',
|
|
|
|
'circuitbreaker==2.0.0',
|
2023-05-30 17:42:54 +08:00
|
|
|
'shortuuid==1.0.11'
|
2023-05-22 15:54:01 +08:00
|
|
|
],
|
2023-05-29 18:43:47 +08:00
|
|
|
extras_require={
|
2023-06-01 02:15:57 +08:00
|
|
|
'nameko': ['nameko==3.0.0rc11',
|
2023-05-29 18:43:47 +08:00
|
|
|
'nameko-sentry==1.0.0'],
|
2023-05-31 02:52:14 +08:00
|
|
|
'apiflask': ['apiflask>=1.3.1', 'gevent>=22.10.2', 'gunicorn==20.1.0'],
|
2023-05-29 18:43:47 +08:00
|
|
|
'rocketry': ['rocketry==2.4.0'],
|
|
|
|
'gutter': ['gutter==0.5.0'],
|
2023-05-30 17:42:54 +08:00
|
|
|
'mysql': ['pymysql==1.0.3', 'sqlalchemy==2.0.15'],
|
2023-05-29 18:43:47 +08:00
|
|
|
},
|
2023-05-22 15:54:01 +08:00
|
|
|
)
|