From 796f36bb7f8ee735bdded4c08ac928bff9f948c4 Mon Sep 17 00:00:00 2001 From: Florian Strzelecki Date: Sun, 12 Apr 2020 16:45:05 +0200 Subject: [PATCH] meta: version 0.1.0 package --- COPYING => LICENSE.txt | 0 MANIFEST.in | 9 +++++++++ Makefile | 7 ++++++- setup.cfg | 6 ++++++ 4 files changed, 21 insertions(+), 1 deletion(-) rename COPYING => LICENSE.txt (100%) create mode 100644 MANIFEST.in diff --git a/COPYING b/LICENSE.txt similarity index 100% rename from COPYING rename to LICENSE.txt diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..a570aff --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,9 @@ +global-exclude *.py[cod] +recursive-exclude sopel/ * +recursive-exclude .git/ * +recursive-exclude .vscode/ * +recursive-exclude .pytest_cache/ * +exclude .gitignore +exclude .pylintrc +exclude .coverage +exclude requirements.txt diff --git a/Makefile b/Makefile index d9935db..22eee4e 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,13 @@ pylint: qa: quality test coverages pylint -.PHONY: develop +.PHONY: develop build develop: pip install -r requirements.txt python setup.py develop + + +build: + rm -rf build/ dist/ + python setup.py sdist bdist_wheel diff --git a/setup.cfg b/setup.cfg index fc7f49f..45536ed 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,6 +8,7 @@ author = Florian Strzelecki author_email = florian.strzelecki@gmail.com url = https://github.com/sopel-irc/sopel-help license = Eiffel Forum License, version 2 +license_file = LICENSE.txt platforms = Linux x86, x86-64 classifiers = Development Status :: 1 - Planning @@ -30,6 +31,11 @@ install_requires = sopel>=7 requests +[options.packages.find] +exclude = + sopel + sopel.* + [options.entry_points] sopel.plugins = help = sopel_help.plugin