Skip to content
Snippets Groups Projects
Commit 5d24f2e9 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Use poetry and replace setup.py by pyproject.toml

parent 83df6da1
No related branches found
No related tags found
1 merge request!2Update meta information
include LICENCE
recursive-include django_any_js/templates *
[tool.poetry]
name = "django-any-js"
version = "1.0.4"
description = "Include JavaScript/CSS libraries with readable template tags"
authors = ["Dominik George <dominik.george@teckids.org>"]
maintainers = ["Dominik George <dominik.george@teckids.org>", "Jonathan Weth <dev@jonathanweth.de>"]
license = "Apache-2.0"
repository = "https://edugit.org/AlekSIS/libs/django-any-js"
include = ["CHANGELOG.rst", "LICENCE"]
readme = "README.rst"
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
[tool.poetry.dependencies]
python = "^3.7"
Django = ">=2.2, <4.0"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
import os
from setuptools import setup
MYDIR = os.path.dirname(__file__)
setup(
name='django-any-js',
version='1.0.3.post1',
keywords=['django', 'javascript'],
description='Include JavaScript libraries with readable template tags',
long_description=open(os.path.join(MYDIR, "README.rst"),
"r", encoding="utf-8").read(),
url='https://edugit.org/AlekSIS/libs/django-any-js',
author='Dominik George',
author_email='dominik.george@teckids.org',
packages=['django_any_js', 'django_any_js.templatetags'],
include_package_data=True,
install_requires=['Django>=1.11'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment