parent
bfbcdf8b86
commit
a5066f15dc
19
setup.py
19
setup.py
|
@ -15,6 +15,15 @@ with codecs.open(os.path.join(os.path.abspath(os.path.dirname(
|
||||||
except IndexError:
|
except IndexError:
|
||||||
raise RuntimeError('Unable to determine version.')
|
raise RuntimeError('Unable to determine version.')
|
||||||
|
|
||||||
|
install_requires = [
|
||||||
|
'httptools>=0.0.9',
|
||||||
|
'ujson>=1.35',
|
||||||
|
'aiofiles>=0.3.0',
|
||||||
|
]
|
||||||
|
|
||||||
|
if os.name != 'nt':
|
||||||
|
install_requires.append('uvloop>=0.5.3')
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='sanic',
|
name='sanic',
|
||||||
version=version,
|
version=version,
|
||||||
|
@ -22,15 +31,11 @@ setup(
|
||||||
license='MIT',
|
license='MIT',
|
||||||
author='Channel Cat',
|
author='Channel Cat',
|
||||||
author_email='channelcat@gmail.com',
|
author_email='channelcat@gmail.com',
|
||||||
description='A microframework based on uvloop, httptools, and learnings of flask',
|
description=(
|
||||||
|
'A microframework based on uvloop, httptools, and learnings of flask'),
|
||||||
packages=['sanic'],
|
packages=['sanic'],
|
||||||
platforms='any',
|
platforms='any',
|
||||||
install_requires=[
|
install_requires=install_requires,
|
||||||
'uvloop>=0.5.3;platform_system!="Windows"',
|
|
||||||
'httptools>=0.0.9',
|
|
||||||
'ujson>=1.35',
|
|
||||||
'aiofiles>=0.3.0',
|
|
||||||
],
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 2 - Pre-Alpha',
|
'Development Status :: 2 - Pre-Alpha',
|
||||||
'Environment :: Web Environment',
|
'Environment :: Web Environment',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user