From fadab84f0aec013621e337b30280b4eada5fe78a Mon Sep 17 00:00:00 2001 From: ge Date: Thu, 29 Sep 2022 23:20:11 +0300 Subject: [PATCH] add build tools --- MANIFEST.in | 4 ++++ pyproject.toml | 31 +++++++++++++++++++++++++++++++ setup.py | 3 +++ 3 files changed, 38 insertions(+) create mode 100644 MANIFEST.in create mode 100644 pyproject.toml create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..36481bb --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include LICENSE +include README +include requirements.txt +include Makefile.jinja2 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..19e7e78 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,31 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = 'reSW' +version = '0.1.0' +description = 'Highly customizable static site generator for reStructuredText markup' +readme = 'README' +requires-python = ">=3.6" +keywords = ['reStructuredText', 'SSG', 'static site generator'] +license = {text = 'GNU General Public License v3 or later (GPLv3+)'} +dependencies = [ + 'colorlog==6.7.0', + 'docopt==0.6.2', + 'docutils==0.17.1', + 'Jinja2==3.1.2', + 'Pygments==2.13.0', + 'toml==0.10.2' +] +classifiers = [ + 'Programming Language :: Python :: 3.10', + 'Operating System :: OS Independent' +] + +[project.scripts] +rsw = 'rsw:cli' + +[tool.setuptools] +py-modules = ['rsw'] +include-package-data = true diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..6068493 --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup()