Commit 8600286d authored by Katia Saurfelt's avatar Katia Saurfelt

[setup] the whole jsdist definition is not needed as there is no js to compile

parent 8af77215efc3
Pipeline #24687 passed with stage
in 1 minute and 17 seconds
#!/usr/bin/env python
# pylint: disable=W0142,W0403,W0404,W0613,W0622,W0622,W0704,R0904,C0103,E0611
#
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# copyright 2003-2020 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
......@@ -26,15 +26,6 @@ __docformat__ = "restructuredtext en"
from os.path import join, dirname
from setuptools import find_packages, setup
from setuptools.command.sdist import sdist
class jsdist(sdist):
def run(self):
self.spawn(["npm", "install"])
self.spawn(["npm", "run", "build"])
sdist.run(self)
here = dirname(__file__)
......@@ -89,5 +80,4 @@ setup(
],
},
zip_safe=False,
cmdclass={"jsdist": jsdist},
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment