forked from armet/python-armet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
75 lines (60 loc) · 1.99 KB
/
setup.py
File metadata and controls
75 lines (60 loc) · 1.99 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import sys
import platform
# Required test dependencies.
test_dependencies = (
# Test runner.
'pytest',
# Ensure PEP8 conformance.
'pytest-pep8',
# Ensure test coverage.
'pytest-cov',
# Installs a WSGI application that intercepts requests made to a hostname
# and port combination for testing.
'wsgi_intercept == 0.6.0',
# HTTP request abstraction layer over httplib.
'httplib2',
# The Web framework for perfectionists with deadlines.
'django',
# A microframework based on Werkzeug, Jinja2 and good intentions.
'flask',
# Bottle is a fast and simple micro-framework for small web applications.
'bottle',
# SQLAlchemy is the Python SQL toolkit and Object Relational Mapper
# that gives application developers the full power and flexibility of SQL.
'sqlalchemy',
)
if sys.version_info[0] == 2:
if platform.python_implementation() != 'PyPy':
# Test dependencies that don't apply for python 2.x.
test_dependencies += (
# gevent is a coroutine-based Python networking library that uses
# greenlet to provide a high-level synchronous API on top of the
# libevent event loop.
'gevent',
)
setup(
name='armet',
version='0.3.12',
description='Clean and modern framework for creating RESTful APIs.',
author='Concordus Applications',
author_email='support@concordusapps.com',
url='http://github.com/armet/python-armet',
package_dir={'armet': 'src/armet'},
packages=find_packages('src'),
dependency_links=(
'git+git://github.com/concordusapps/wsgi-intercept.git'
'#egg=wsgi_intercept-0.6.0',
),
install_requires=(
# Python 2 and 3 normalization layer
'six',
# For parsing accept and content-type headers
'python-mimeparse',
),
extras_require={
'test': test_dependencies
}
)