Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmendsenProject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shaik Janipasha
AmendsenProject
Commits
82564547
Commit
82564547
authored
Apr 18, 2019
by
Tao Feng
Committed by
Jin Hyuk Chang
Apr 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setup.py script to fix installation issue (#85)
parent
3d4b4a09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup.py
setup.py
+2
-2
No files found.
setup.py
View file @
82564547
...
...
@@ -21,7 +21,7 @@ def build_js() -> None:
logging
.
error
(
'npm must be available'
)
try
:
subprocess
.
check_call
([
'npm install
--only=prod
'
],
cwd
=
PACKAGE_DIR
,
shell
=
True
)
subprocess
.
check_call
([
'npm install'
],
cwd
=
PACKAGE_DIR
,
shell
=
True
)
subprocess
.
check_call
([
'npm run build'
],
cwd
=
PACKAGE_DIR
,
shell
=
True
)
except
Exception
as
e
:
logging
.
warn
(
'Installation of npm dependencies failed'
)
...
...
@@ -34,7 +34,7 @@ requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'r
with
open
(
requirements_path
)
as
requirements_file
:
requirements
=
requirements_file
.
readlines
()
__version__
=
'1.0.
1
'
__version__
=
'1.0.
2
'
setup
(
...
...
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