diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..604f737 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,37 @@ +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "pybars3" +version = "0.9.7" +description = 'Handlebars.js templating for Python 3 and 2' +readme = "README.md" +requires-python = ">=2.7" +keywords = [] +authors = [ + { name = "wbond", email = "will@wbond.net" }, + { name = "mjumbewu", email = "mjumbewu@gmail.com" }, +] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", + "Operating System :: OS Independent", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", +] +dependencies = [ + "PyMeta3>=0.5.1" +] + +[project.urls] +Documentation = "https://github.com/wbond/pybars3" +Issues = "https://github.com/wbond/pybars3/issues" +Source = "https://github.com/wbond/pybars3" + +[tool.setuptools] +packages = ["pybars", "pybars._templates"] diff --git a/setup.py b/setup.py deleted file mode 100755 index 328fa06..0000000 --- a/setup.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python -# -# Copyright (c) 2015 Will Bond, 2012 Canonical Ltd -# -# This program 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, version 3 only. -# -# This program 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 this program. If not, see . -# GNU Lesser General Public License version 3 (see the file LICENSE). - - -from distutils.core import setup - - -setup(name='pybars3', - version='0.9.7', - description='Handlebars.js templating for Python 3 and 2', - long_description='Documentation is maintained at https://github.com/wbond/pybars3#readme', - author='wbond, mjumbewu', - author_email='will@wbond.net, mjumbewu@gmail.com', - url='https://github.com/wbond/pybars3', - packages=['pybars', 'pybars._templates'], - package_dir={'': '.'}, - classifiers=[ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', - 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4' - ], - install_requires=[ - 'PyMeta3>=0.5.1', - ], - )