-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
47 lines (36 loc) · 1.06 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
# -*- coding: utf-8 -*-
#
# 安装程序
# Author: alex
# Created Time: 2018年04月02日 星期一 17时29分45秒
#from setuptools import setup
from distutils.core import setup
LONG_DESCRIPTION = """
Python fireRest is a library for automatically generating restful api interfaces
(APIs) with a single line of code.
It will turn any Python class or function into a API.
快速将函数或者对象包装成Restful接口。
This idea comes from: https://github.com/google/python-fire
""".strip()
SHORT_DESCRIPTION = """
A library for automatically generating restful api interfaces.""".strip()
DEPENDENCIES = [
'flask',
'jsonschema',
'flask_restful',
'json-tricks',
]
VERSION = '0.3.9'
URL = 'https://github.com/ibbd-dev/python-fire-rest'
setup(
name='fireRest',
version=VERSION,
description=SHORT_DESCRIPTION,
long_description=LONG_DESCRIPTION,
url=URL,
author='Alex Cai',
author_email='cyy0523xc@gmail.com',
license='Apache Software License',
keywords='restful api interface for python',
packages=['fireRest'],
)