-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
45 lines (42 loc) · 1.36 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
from setuptools import find_packages, setup # type: ignore
with open("README.md") as f:
long_description = f.read()
with open("htmlgenerator/__init__.py") as f:
# magic n stuff
version = (
[i for i in f.readlines() if "__version__" in i][-1]
.split("=", 1)[1]
.strip()
.strip('"')
)
setup(
name="htmlgenerator",
description="Declarative HTML templating system with lazy rendering",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/basxsoftwareassociation/htmlgenerator",
author="basx Software Association",
author_email="[email protected]",
version=version,
license="New BSD License",
packages=find_packages(),
zip_safe=False,
include_package_data=True,
extras_require={
"all": ["black", "beautifulsoup4", "lxml;platform_system!='Windows'"]
},
entry_points={
"console_scripts": [
"convertfromhtml = htmlgenerator.contrib.convertfromhtml:main",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
],
)