Remove setup.py, and remove sample project from source build

This commit is contained in:
Veronica Berglyd Olsen
2023-07-26 22:33:05 +02:00
parent 7c138d33fc
commit 2966a709b8
3 changed files with 2 additions and 16 deletions
+1 -2
View File
@@ -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 *
+1 -1
View File
@@ -38,7 +38,7 @@ install_requires =
pyenchant>=3.0.0
[options.packages.find]
exclude = docs, tests, sample
include = novelwriter*
[options.entry_points]
console_script =
-13
View File
@@ -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()