django-components/setup.py
Bradley Stuart Kirton 2c644d4c06 Add pytest-cov
Apply black formatting
Add component_css_dependencies_tag and component_js_dependencies_tag tags
Add convenience methods render_css_dependencies and render_js_dependencies to component class
Create additional test cases
Add license to setup.py
Add pytest.ini config file
2020-07-10 13:07:51 +02:00

32 lines
1.1 KiB
Python

# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
VERSION = "0.3"
setup(
name="django_reusable_components",
packages=find_packages(exclude=["tests"]),
version=VERSION,
description="A way to create simple reusable template components in Django.",
long_description=open(os.path.join(os.path.dirname(__file__), "README.md")).read(),
long_description_content_type="text/markdown",
author=u"Emil Stenström",
author_email="em@kth.se",
url="https://github.com/EmilStenstrom/django-components/",
install_requires=["Django>=1.11", "six"],
license="MIT",
keywords=["django", "components", "css", "js", "html"],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
],
)