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:
11
setup.py
11
setup.py
@@ -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,
|
||||
},
|
||||
)
|
||||
|
Reference in New Issue
Block a user