Remove setup.py, and remove sample project from source build
This commit is contained in:
+1
-2
@@ -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 *
|
||||
|
||||
@@ -38,7 +38,7 @@ install_requires =
|
||||
pyenchant>=3.0.0
|
||||
|
||||
[options.packages.find]
|
||||
exclude = docs, tests, sample
|
||||
include = novelwriter*
|
||||
|
||||
[options.entry_points]
|
||||
console_script =
|
||||
|
||||
@@ -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()
|
||||
Reference in New Issue
Block a user