-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
50 lines (45 loc) · 1.42 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
def readfile(path):
with open(path, "r", encoding="utf-8-sig") as fp:
return fp.read()
setup(
name="nginx_blackout",
version="0.1.0",
description="nginx-blackout-python",
long_description=readfile("README.md").rstrip(),
long_description_content_type="text/markdown",
author="andreymal",
author_email="[email protected]",
license="MIT",
platforms=["any"],
packages=find_packages(),
python_requires=">=3.5",
install_requires=[
"aiohttp>=3.6,<4.0",
"aiohttp-jinja2>=1.2,<1.3",
"user-agents>=2.0,<3.0",
"toml",
],
include_package_data=True,
zip_safe=False,
entry_points={
"console_scripts": [
"nginx_blackout=nginx_blackout.main:main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
)