Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
ckeditor
Commits
249b8d753515
Commit
8600286d
authored
Nov 09, 2020
by
Katia Saurfelt
Browse files
[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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
249b8d75
#!/usr/bin/env python
# pylint: disable=W0142,W0403,W0404,W0613,W0622,W0622,W0704,R0904,C0103,E0611
#
# copyright 2003-20
1
0 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# copyright 2003-20
2
0 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
},
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment