mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
Nose is no longer maintained and is incompatible with Python 3.10, so can no longer be used. This change runs `coverage` manually to collect coverage and uses `pytest` to run doctests, collectively covering what was tested using django_nose.
26 lines
857 B
Python
26 lines
857 B
Python
import os
|
|
from setuptools import setup
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
setup(
|
|
name="django-downloadview-demo",
|
|
version="1.0",
|
|
description="Serve files with Django and reverse-proxies.",
|
|
long_description=open(os.path.join(here, "README.rst")).read(),
|
|
classifiers=[
|
|
"Development Status :: 5 - Production/Stable",
|
|
"License :: OSI Approved :: BSD License",
|
|
"Programming Language :: Python :: 3",
|
|
"Framework :: Django",
|
|
],
|
|
author="Benoît Bryon",
|
|
author_email="benoit@marmelune.net",
|
|
url="https://django-downloadview.readthedocs.io/",
|
|
license="BSD",
|
|
packages=["demoproject"],
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
install_requires=["django-downloadview", "pytest-django"],
|
|
entry_points={"console_scripts": ["demo = demoproject.manage:main"]},
|
|
)
|