forked from gonrin/gatco_restapi
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (50 loc) · 1.57 KB
/
Copy pathsetup.py
File metadata and controls
54 lines (50 loc) · 1.57 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- coding: utf-8 -*-
import re
from os import path
from setuptools import find_packages, setup
ROOT_DIR = path.abspath(path.dirname(__file__))
DESCRIPTION = 'Gatco-RestAPI is a `Gatco extension which facilitates the creation of ReSTful JSON APIs.'
LONG_DESCRIPTION = open(path.join(ROOT_DIR, 'README.rst')).read()
VERSION = re.search(
"__version__ = '([^']+)'",
open(path.join(ROOT_DIR, 'gatco_restapi', '__init__.py')).read()
).group(1)
setup(
name='Gatco-RestAPI',
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url='https://github.com/gonrin/gatco_restapi/',
author='cuongnc.coder and contributors',
author_email='cuongnc.coder@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=find_packages(exclude=['tests*']),
include_package_data=True,
install_requires=[
'sanic','sqlalchemy'
],
extras_require={
'dev': [
'aiohttp',
'flake8',
'pytest',
'pytest-cov',
'Sphinx',
'tox',
'twine',
],
},
zip_safe=False,
platforms='any',
)