mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
48 lines
1.4 KiB
Python
48 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
"""Python packaging."""
|
|
import os
|
|
|
|
from setuptools import setup
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
project_root = os.path.dirname(here)
|
|
|
|
|
|
NAME = 'django-downloadview-demo'
|
|
DESCRIPTION = 'Serve files with Django and reverse-proxies.'
|
|
README = open(os.path.join(here, 'README.rst')).read()
|
|
VERSION = open(os.path.join(project_root, 'VERSION')).read().strip()
|
|
AUTHOR = u'Benoît Bryon'
|
|
EMAIL = u'benoit@marmelune.net'
|
|
URL = 'https://django-downloadview.readthedocs.io/'
|
|
CLASSIFIERS = ['Development Status :: 5 - Production/Stable',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Framework :: Django']
|
|
KEYWORDS = []
|
|
PACKAGES = ['demoproject']
|
|
REQUIREMENTS = [
|
|
'django-downloadview',
|
|
'django-nose']
|
|
ENTRY_POINTS = {
|
|
'console_scripts': ['demo = demoproject.manage:main']
|
|
}
|
|
|
|
|
|
if __name__ == '__main__': # Don't run setup() when we import this module.
|
|
setup(name=NAME,
|
|
version=VERSION,
|
|
description=DESCRIPTION,
|
|
long_description=README,
|
|
classifiers=CLASSIFIERS,
|
|
keywords=' '.join(KEYWORDS),
|
|
author=AUTHOR,
|
|
author_email=EMAIL,
|
|
url=URL,
|
|
license='BSD',
|
|
packages=PACKAGES,
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
install_requires=REQUIREMENTS,
|
|
entry_points=ENTRY_POINTS)
|