-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
50 lines (40 loc) · 963 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
"""
drf_bench
=====
"""
import drf_bench
from setuptools import setup, find_packages
import sys
install_requires = [
"Django==1.8.4",
"djangorestframework==3.2.3",
]
dev_requires = [
'django-debug-toolbar',
]
test_requires = [
"pytest",
"pytest-cov",
"pytest-django",
"pytest-benchmark",
]
setup(
name="drf_bench",
version=drf_bench.__version__,
author="Xavier Ordoquy",
author_email="[email protected]",
url="",
description="A benchmark for Django REST framework.",
# Packages and data to take into account
packages=find_packages(exclude=("tests", "tests.*")),
include_package_data=True,
zip_safe=False, # Avoid eggs
# Allow pip install .[tests,dev] to install the dev and test dependencies
extras_require={
"tests": test_requires,
"dev": dev_requires,
},
install_requires=install_requires,
tests_require=test_requires,
)