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