-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (21 loc) · 951 Bytes
/
setup.py
File metadata and controls
23 lines (21 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
import sys
from django_cloudflare_push import __version__
assert sys.version >= '2.7', "Requires Python v2.7 or above."
from distutils.core import setup
from setuptools import find_packages
setup(
name="django-cloudflare-push",
version=__version__,
author="Stavros Korokithakis",
author_email="hi@stavros.io",
url="https://github.com/skorokithakis/django-cloudflare-push",
description="""An piece of middleware that tells CloudFlare to HTTP/2 Push static files in a page to the client.""",
long_description="A piece of middleware that lists all the static media in a Django page and adds a header that instructs"
" CloudFlare to use HTTP/2's Push functionality to send the media to the client before the latter requests them.",
license="BSD",
keywords="django, cloudflare, http2, push",
zip_safe=False,
include_package_data=True,
packages=find_packages(),
)