-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
98 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "dominate" | ||
description = "Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API." | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
authors = [ | ||
{name = "Tom Flanagan", email = "[email protected]"}, | ||
{name = "Jake Wharton"}, | ||
] | ||
description = "Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API." | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" | ||
requires-python = ">=3.4" | ||
keywords = ["framework", "templating", "template", "html", "xhtml", "python", "html5"] | ||
license = {text = "LGPL-3.0-or-newer"} | ||
classifiers = [ | ||
|
@@ -28,6 +28,8 @@ classifiers = [ | |
"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 :: Implementation :: PyPy", | ||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
|
@@ -36,7 +38,8 @@ classifiers = [ | |
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/Knio/dominate/" | ||
Homepage = "https://github.com/Knio/dominate" | ||
Source = "https://github.com/Knio/dominate" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "dominate._version.__version__"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[metadata] | ||
license_file = LICENSE.txt | ||
|
||
[bdist_wheel] | ||
universal=1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
__license__ = ''' | ||
This file is part of Dominate. | ||
Dominate is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as | ||
published by the Free Software Foundation, either version 3 of | ||
the License, or (at your option) any later version. | ||
Dominate is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General | ||
Public License along with dominate. If not, see | ||
<http://www.gnu.org/licenses/>. | ||
''' | ||
# pylint: disable=bad-whitespace | ||
|
||
from setuptools import setup | ||
|
||
import imp | ||
_version = imp.load_source("dominate._version", "dominate/_version.py") | ||
|
||
long_description = open('README.md').read() | ||
|
||
setup( | ||
name = 'dominate', | ||
version = _version.__version__, | ||
author = 'Tom Flanagan and Jake Wharton', | ||
author_email = '[email protected]', | ||
license = 'LGPLv3', | ||
url = 'https://github.com/Knio/dominate/', | ||
description = 'Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API.', | ||
long_description = long_description, | ||
long_description_content_type='text/markdown', | ||
keywords = 'framework templating template html xhtml python html5', | ||
|
||
python_requires='>=2.7, <3', | ||
classifiers = [ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: Implementation :: PyPy', | ||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Text Processing :: Markup :: HTML', | ||
], | ||
|
||
packages = ['dominate'], | ||
include_package_data = True, | ||
) |