forked from clokep/django-render-block
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (42 loc) · 1.54 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import codecs
from setuptools import find_packages, setup
def long_description():
result = ''
for filename in ['README.rst', 'CHANGELOG.rst']:
with codecs.open(filename, encoding='utf8') as f:
result += f.read() + '\n'
return result
setup(
name='django-render-block',
packages=find_packages(),
version='0.9dev',
description='Render a particular block from a template to a string.',
long_description=long_description(),
long_description_content_type='text/x-rst',
author='Patrick Cloke',
author_email='clokep@patrick.cloke.us',
url='https://github.com/clokep/django-render-block',
download_url='https://github.com/clokep/django-render-block',
keywords=['django', 'template', 'block', 'templates', 'render', 'context'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Topic :: Internet',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: ISC License (ISCL)',
],
install_requires=[
'django>=2.2',
],
python_requires=">=3.5",
)