namekoplus/setup.py

79 lines
2.3 KiB
Python
Raw Normal View History

2023-07-19 19:06:53 +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='namekoplus',
2023-07-27 14:02:01 +08:00
version='0.4.0',
2023-07-19 19:06:53 +08:00
description='A lightweight Python distributed microservice solution',
long_description=long_description,
2023-07-20 11:13:46 +08:00
long_description_content_type='text/markdown',
2023-07-21 13:01:09 +08:00
url='',
project_urls={
'Documentation': 'https://doc.bearcatlog.com/',
'Source Code': 'https://github.com/Bryanthelol/namekoplus',
'Bug Tracker': 'https://github.com/Bryanthelol/namekoplus/issues',
},
2023-07-19 19:06:53 +08:00
author='Bryant He',
author_email='bryantsisu@qq.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
platforms='any',
python_requires='>=3.8, <4',
2023-07-19 19:06:53 +08:00
keywords='lightweight python distributed microservice solution',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
include_package_data=True,
2023-07-20 11:13:46 +08:00
data_files=['README.md'],
2023-07-19 19:06:53 +08:00
entry_points={
'console_scripts': [
'namekoplus = namekoplus.command:cli',
],
},
install_requires=[
'nameko==3.0.0rc11',
'click==8.1.5',
2023-07-25 17:36:06 +08:00
'python-on-whales==0.63.0',
2023-07-27 14:02:01 +08:00
'pytest==7.4.0',
'mako==1.2.4',
'shortuuid==1.0.11'
2023-07-19 19:06:53 +08:00
],
extras_require={
2023-07-21 13:01:09 +08:00
'ha': ['tenacity==8.2.2',
'cachetools==5.3.0',
'circuitbreaker==2.0.0',
'statsd==4.0.1',
'logstash_formatter==0.5.17',
'nameko-sentry==1.0.0',
2023-07-27 14:02:01 +08:00
'nameko-tracer==1.4.0'],
2023-07-19 19:06:53 +08:00
'apiflask': ['apiflask>=1.3.1',
'gevent>=22.10.2',
'gunicorn==20.1.0'],
'rocketry': ['rocketry==2.4.0'],
'gutter': ['gutter==0.5.0'],
'mysql': ['pymysql==1.0.3',
'sqlalchemy==2.0.15',
'sqlacodegen==2.3.0',
'alembic==1.11.1'],
'security': ['cryptography'],
2023-07-27 14:02:01 +08:00
'dev': ['environs==9.5.0']
2023-07-19 19:06:53 +08:00
},
)