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 11#!/usr/bin/env python
2+ from pathlib import Path
3+
24from setuptools import find_packages , setup
35
46from djangocms_snippet import __version__
3537 'Topic :: Software Development :: Libraries' ,
3638]
3739
40+ this_directory = Path (__file__ ).parent
41+ long_description = (this_directory / "README.rst" ).read_text ()
3842
3943setup (
4044 name = 'djangocms-snippet' ,
4650 url = 'https://github.com/django-cms/djangocms-snippet' ,
4751 license = 'BSD-3-Clause' ,
4852 description = 'Adds snippet plugin to django CMS.' ,
49- long_description = open ('README.rst' ).read (),
50- packages = find_packages (),
53+ long_description = long_description ,
54+ long_description_content_type = 'text/x-rst' ,
55+ packages = find_packages (exclude = ['tests' ]),
56+ python_requires = '>=3.5' ,
5157 include_package_data = True ,
5258 zip_safe = False ,
5359 install_requires = REQUIREMENTS ,
You can’t perform that action at this time.
0 commit comments