forked from isso-comments/isso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·52 lines (49 loc) · 1.78 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
50
51
52
#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
from pathlib import Path
from re import sub as re_sub
from setuptools import setup, find_packages
# https://packaging.python.org/en/latest/guides/making-a-pypi-friendly-readme/
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
# Filter out "License" section since license already displayed in PyPi sidebar
# Remember to keep this in sync with changes to README!
long_description = re_sub(r"\n## License\n.*LICENSE.*\n", "", long_description)
setup(
name='isso',
version='0.13.1.dev1',
author='Martin Zimmermann',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
url='https://github.com/isso-comments/isso/',
license='MIT',
description='lightweight Disqus alternative',
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.8',
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
install_requires=[
'itsdangerous', 'Jinja2', 'misaka>=2.0,<3.0', 'html5lib',
'werkzeug>=1.0', 'bleach', 'setuptools'],
tests_require=['pytest', 'pytest-cov'],
extras_require={
'doc': ['Sphinx'],
},
entry_points={
'console_scripts':
['isso = isso:main'],
},
)