Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
ckeditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cubicweb
cubes
ckeditor
Commits
249b8d753515
Commit
8600286d
authored
Nov 09, 2020
by
Katia Saurfelt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[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
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
setup.py
setup.py
+1
-11
No files found.
setup.py
View file @
249b8d753515
#!/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