-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
46 lines (41 loc) · 1.41 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
import re
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
setup(
name='python-peach',
packages=['peach'],
version=get_version('peach'),
description='A Lightweight framework for building restful apis',
author='Sebastian Packmann',
author_email='[email protected]',
url='https://github.com/sebastiandev/peach',
download_url='https://github.com/sebastiandev/peach/archive/0.1.tar.gz',
keywords=['flask', 'falcon', 'python', 'api', 'framework', 'restful'],
install_requires=[
'marshmallow',
'webargs'
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)