1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-21 05:41:54 +02:00

minor build fixes

This commit is contained in:
Nick Sweeting
2021-02-01 05:13:46 -05:00
parent aa84a7ff2b
commit 783f597955
5 changed files with 19 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import json
import setuptools
from setuptools.command.test import test
from pathlib import Path
@@ -32,6 +33,13 @@ VERSION = json.loads((PACKAGE_DIR / "package.json").read_text().strip())['versio
# print('>', sys.executable, *sys.argv)
class CustomTest(test):
def run(self):
# setup.py test is deprecated, disable it here by force so stdeb doesnt run it
#super().run()
pass
setuptools.setup(
name=PKG_NAME,
version=VERSION,
@@ -120,4 +128,7 @@ setuptools.setup(
"Framework :: Django",
"Typing :: Typed",
],
cmdclass={
"test": CustomTest,
},
)