-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
35 lines (32 loc) · 1010 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import re
import setuptools
with open('README.md', 'rt', encoding='utf-8') as f:
long_description = f.read()
with open('pixivpy_async/__init__.py', 'r') as fd:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
setuptools.setup(
name='PixivPy-Async',
version=version,
description='Pure Python 3 Async Pixiv API',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/Mikubill/pixivpy-async',
author='Mikubill',
classifiers=[
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
],
keywords=['pixiv', 'api', 'pixivpy', 'pixivpy_async'],
packages=['pixivpy_async'],
install_requires=['aiohttp', 'aiofiles', 'deprecated'],
extra_requires={
'socks': [
'aiohttp_socks',
],
'speedups': [
'aiohttp[speedups]'
]
},
python_requires='>=3.5.3',
)