nonebot2/setup.py

39 lines
1.3 KiB
Python
Raw Normal View History

2019-01-25 08:03:08 +00:00
from setuptools import setup, find_packages, findall
2018-06-26 02:25:11 +00:00
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
2019-01-25 08:03:08 +00:00
packages = find_packages(include=('nonebot', 'nonebot.*'))
stub_files = list(filter(lambda x: x.endswith('.pyi'), findall('nonebot')))
2018-06-26 02:25:11 +00:00
setup(
2018-12-27 12:23:45 +00:00
name='nonebot',
2019-02-01 11:45:35 +00:00
version='1.2.2',
2018-12-27 12:23:45 +00:00
url='https://github.com/richardchien/nonebot',
2018-06-29 14:54:24 +00:00
license='MIT License',
2018-06-26 02:25:11 +00:00
author='Richard Chien',
author_email='richardchienthebest@gmail.com',
2018-08-16 17:02:45 +00:00
description='An asynchronous QQ bot framework based on CoolQ.',
2018-06-26 02:25:11 +00:00
long_description=long_description,
2018-08-16 17:02:45 +00:00
long_description_content_type='text/markdown',
2019-01-25 08:03:08 +00:00
packages=packages,
data_files=stub_files,
2018-12-27 12:23:45 +00:00
install_requires=['aiocqhttp>=0.6.7', 'aiocache>=0.10'],
2018-08-26 02:05:42 +00:00
extras_require={
2018-09-05 01:14:14 +00:00
'scheduler': ['apscheduler>=1.2'],
2018-08-26 02:05:42 +00:00
},
2018-12-27 12:23:45 +00:00
python_requires='>=3.6.1',
2018-06-26 02:25:11 +00:00
platforms='any',
2019-01-25 14:41:59 +00:00
classifiers=[
2018-12-27 12:23:45 +00:00
'Development Status :: 5 - Production/Stable',
2018-08-16 17:02:45 +00:00
'Framework :: Robot Framework',
'Framework :: Robot Framework :: Library',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
2018-08-16 17:04:04 +00:00
'Programming Language :: Python :: 3 :: Only',
2018-08-16 17:02:45 +00:00
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
2019-01-25 14:41:59 +00:00
],
2018-06-26 02:25:11 +00:00
)