Skip to content

Commit

Permalink
Reinstate setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Feb 9, 2024
1 parent 8ba058c commit 03c0607
Showing 1 changed file with 47 additions and 4 deletions.
51 changes: 47 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,52 @@
#!/usr/bin/env python

NOT_YET_IMPLEMENTED_StmtImportFrom # type: ignore
from setuptools import find_packages, setup # type: ignore

NOT_YET_IMPLEMENTED_StmtImportFrom
from draftjs_exporter import __version__

NOT_YET_IMPLEMENTED_StmtWith
with open("README.md", encoding="utf-8") as readme_file:
long_description = readme_file.read()

NOT_YET_IMPLEMENTED_ExprCall
setup(
name="draftjs_exporter",
version=__version__,
description="Library to convert rich text from Draft.js raw ContentState to HTML",
long_description=long_description,
long_description_content_type="text/markdown",
author="Springload",
author_email="[email protected]",
url="https://github.com/springload/draftjs_exporter",
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
license="MIT",
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Editors :: Word Processors",
"Typing :: Typed",
],
package_data={"draftjs_exporter": ["py.typed"]},
extras_require={
# Keep this in sync with the dependencies in setup.py, requirements.txt, tox.ini.
"lxml": ["lxml>=4.2.0,<5"],
"html5lib": ["beautifulsoup4>=4.4.1,<5", "html5lib>=0.999,<2"],
},
zip_safe=False,
)

0 comments on commit 03c0607

Please sign in to comment.