Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amundsen_dev
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
Surendar Reddy Mangannagari
amundsen_dev
Commits
3d4b4a09
Unverified
Commit
3d4b4a09
authored
Apr 16, 2019
by
Tao Feng
Committed by
GitHub
Apr 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setup.py to include requirment3 file (#82)
parent
a9fb7af1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
19 deletions
+8
-19
requirements3.txt
requirements3.txt
+1
-1
setup.py
setup.py
+7
-18
No files found.
requirements3.txt
View file @
3d4b4a09
...
...
@@ -46,7 +46,7 @@ flask==1.0.2
# The wheel project provides a bdist_wheel command for setuptools >= 0.8.0
# License: MIT
# Upstream url: https://github.com/pypa/wheel
wheel==0.3
1
.1
wheel==0.3
3
.1
# HTTP for Humans
# License: Apache
...
...
setup.py
View file @
3d4b4a09
...
...
@@ -22,6 +22,7 @@ def build_js() -> None:
try
:
subprocess
.
check_call
([
'npm install --only=prod'
],
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'
)
logging
.
warn
(
str
(
e
))
...
...
@@ -29,7 +30,11 @@ def build_js() -> None:
build_js
()
__version__
=
'1.0.0'
requirements_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
'requirements3.txt'
)
with
open
(
requirements_path
)
as
requirements_file
:
requirements
=
requirements_file
.
readlines
()
__version__
=
'1.0.1'
setup
(
...
...
@@ -42,23 +47,7 @@ setup(
packages
=
find_packages
(
exclude
=
[
'tests*'
]),
include_package_data
=
True
,
dependency_links
=
[],
install_requires
=
[
# Packages in here should rarely be pinned. This is because these
# packages (at the specified version) are required for project
# consuming this library. By pinning to a specific version you are the
# number of projects that can consume this or forcing them to
# upgrade/downgrade any dependencies pinned here in their project.
#
# Generally packages listed here are pinned to a major version range.
#
# e.g.
# Python FooBar package for foobaring
# pyfoobar>=1.0, <2.0
#
# This will allow for any consuming projects to use this library as
# long as they have a version of pyfoobar equal to or greater than 1.x
# and less than 2.x installed.
],
install_requires
=
requirements
,
python_requires
=
">=3.6"
,
entry_points
=
"""
[action_log.post_exec.plugin]
...
...
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