File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ import io
12from setuptools import setup
3+ from os import path
4+
5+ this_directory = path .abspath (path .dirname (__file__ ))
6+ with io .open (path .join (this_directory , 'README.rst' ), encoding = 'utf-8' ) as f :
7+ long_description = f .read ()
28
39setup (
410 name = 'django-markwhat' ,
511 version = "." .join (map (str , __import__ ('django_markwhat' ).__version__ )),
612 packages = ['django_markwhat' , 'django_markwhat.templatetags' ],
713 url = 'http://pypi.python.org/pypi/django-markwhat' ,
8- license = open ( 'LICENSE' ). read () ,
14+ license = "BSD-3-Clause" ,
915 author = 'Alireza Savand' ,
10161117 install_requires = ['Django' , ],
1218 description = "A collection of template filters that implement " +
1319 "common markup languages." ,
14- long_description = open ( 'README.rst' ). read () ,
20+ long_description = long_description ,
1521 keywords = [
1622 'django' ,
1723 'markdown' ,
You can’t perform that action at this time.
0 commit comments