-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·61 lines (51 loc) · 1.88 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
from os.path import isfile
from setuptools import setup
def _read_file(path):
with open(path) as fp:
return fp.read().strip()
PROJECT_VERSION = _read_file("VERSION.txt")
REQUIREMENTS = _read_file("requirements.txt").split("\n")
DEV_REQUIREMENTS = _read_file("requirements_dev.txt").split("\n")
TEST_REQUIREMENTS = _read_file("requirements_test.txt").split("\n")
if isfile("README.md"):
long_description = _read_file("README.md")
else:
long_description = ""
setup(
name="pytest-django-queries",
author="NyanKiyoshi",
author_email="hello@vanille.bid",
url="https://github.com/NyanKiyoshi/pytest-django-queries/",
description="Generate performance reports from your django database "
"performance tests.",
long_description=long_description,
long_description_content_type="text/markdown",
version=PROJECT_VERSION,
packages=["pytest_django_queries"],
include_package_data=True,
entry_points={
"pytest11": ["django_queries = pytest_django_queries.plugin"],
"console_scripts": ["django-queries = pytest_django_queries.cli:main"],
},
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
"Framework :: Pytest",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=REQUIREMENTS,
extras_require={
"dev": DEV_REQUIREMENTS,
"test": TEST_REQUIREMENTS + DEV_REQUIREMENTS,
},
zip_safe=False,
)