-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
31 lines (27 loc) · 869 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
"""setup.py file
sanic-mongo
"""
from codecs import open
from setuptools import setup, find_packages
from os import path
PACKAGES = find_packages(exclude=['contrib', 'docs', 'test'])
required = ["motor>=1.1",
"pymongo>=3.4.0",
"sanic>=0.4.1",
"user_agents>=1.1.0"]
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setup(
name='sanic-mongo',
version='1.7.1',
author='Huang Sizhe',
author_email='[email protected]',
packages=PACKAGES,
license='Apache License 2.0',
description='a simple sanic extension for using motor',
long_description=LONG_DESCRIPTION,
install_requires=required,
url="https://sanic-extensions.github.io/sanic-mongo/",
data_files=[('requirements', ['requirements.txt'])]
)