| 1 |
# -*- coding: utf-8 -*- |
| 2 |
from setuptools import setup |
| 3 |
|
| 4 |
packages = \ |
| 5 |
['django_any_js', 'django_any_js.templatetags'] |
| 6 |
|
| 7 |
package_data = \ |
| 8 |
{'': ['*'], 'django_any_js': ['templates/django_any_js/*']} |
| 9 |
|
| 10 |
install_requires = \ |
| 11 |
['Django>=2.2,<4.0'] |
| 12 |
|
| 13 |
setup_kwargs = { |
| 14 |
'name': 'django-any-js', |
| 15 |
'version': '1.1', |
| 16 |
'description': 'Include JavaScript/CSS libraries with readable template tags', |
| 17 |
'long_description': 'Django Any-JS\n=============\n\nDescription\n-----------\n\nDjango-Any-JS helps you at including any combination of JavaScript/CSS\nURLs in your site, with readable settings and template tags.\n\nUsage\n-----\n\nIn your settings:\n\n::\n\n INSTALLED_APPS = [\n ...,\n "django_any_js",\n ...,\n ]\n ANY_JS = {\n "DataTables": {\n "js_url": "/javascript/jquery-datatables/dataTables.bootstrap4.min.js",\n "css_url": "/javascript/jquery-datatables/css/dataTables.bootstrap4.min.css",\n }\n }\n\nIn your template:\n\n::\n\n {% load any_js %}\n {% include_js "DataTables" %}\n {% include_css "DataTables" %}\n', |
| 18 |
'author': 'Dominik George', |
| 19 |
'author_email': '[email protected]', |
| 20 |
'maintainer': 'Dominik George', |
| 21 |
'maintainer_email': '[email protected]', |
| 22 |
'url': 'https://edugit.org/AlekSIS/libs/django-any-js', |
| 23 |
'packages': packages, |
| 24 |
'package_data': package_data, |
| 25 |
'install_requires': install_requires, |
| 26 |
'python_requires': '>=3.7,<4.0', |
| 27 |
} |
| 28 |
|
| 29 |
|
| 30 |
setup(**setup_kwargs) |