From 2966a709b85230af3d69fe55bf77fabb2ec38c1a Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Wed, 26 Jul 2023 22:33:05 +0200 Subject: [PATCH] Remove setup.py, and remove sample project from source build --- MANIFEST.in | 3 +-- setup.cfg | 2 +- setup.py | 13 ------------- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100755 setup.py diff --git a/MANIFEST.in b/MANIFEST.in index 5de01190..1f2e5741 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,5 @@ include pkgutils.py include LICENSE.md include CREDITS.md include CHANGELOG.md -recursive-include setup * recursive-include novelwriter/assets * -recursive-include sample *.nwx *.nwd +recursive-include setup * diff --git a/setup.cfg b/setup.cfg index b9572076..497f444a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,7 +38,7 @@ install_requires = pyenchant>=3.0.0 [options.packages.find] -exclude = docs, tests, sample +include = novelwriter* [options.entry_points] console_script = diff --git a/setup.py b/setup.py deleted file mode 100755 index c83c9112..00000000 --- a/setup.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env python3 - -import setuptools # noqa: F401 -import warnings # noqa: F401 - -warnings.warn( - "The setuptools style setup.py script is deprecated and will be " - "removed in a future release. Please don't use the 'setup.py install' " - "command, and instead use the pip and build commands.", - DeprecationWarning -) - -setuptools.setup()