-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (64 loc) · 1.79 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
62
63
64
65
66
67
68
69
70
71
72
73
from setuptools import setup, find_packages
import sys
if sys.version_info < (3, 6):
raise Exception("This package requires Python 3.6 or higher.")
PACKAGE_NAME = "minisentry"
VERSION = "0.0.1"
QUICK_DESCRIPTION = "MiniSentry. Stripped Sentry replacement for development"
SOURCE_DIR_NAME = "src"
def readme():
with open("README.rst", "r", encoding="utf-8") as f:
return f.read()
test_requirements = [
"isort",
"flake8",
"pytest",
"pytest-cov",
]
develop_requirements = [
"colorlog",
"django-silk",
]
setup(
name=PACKAGE_NAME,
version=VERSION,
description=QUICK_DESCRIPTION,
author="Dmitry Litvinenko",
author_email="[email protected]",
long_description=readme(),
url="https://github.com/anti1869/minisentry/",
package_dir={"": SOURCE_DIR_NAME},
packages=find_packages(SOURCE_DIR_NAME, exclude=("*.tests",)),
include_package_data=True,
zip_safe=False,
package_data={},
license="Proprietary",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: Log Analysis",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Bug Tracking",
"Framework :: Django :: 2.0",
],
install_requires=[
"django >=2.0, <=2.1",
"python-dotenv",
"uwsgi",
],
tests_require=test_requirements,
extras_require={
"develop": develop_requirements + test_requirements,
},
scripts=[
"src/manage.py",
],
entry_points={
"console_scripts": [
"minisentry = minisentry.__main__:main",
],
}
)