FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
localstack-python-client/Makefile at master · mgagliardo/localstack-python-client · GitHub
mgagliardo
/
localstack-python-client
Public
forked from
localstack/localstack-python-client
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
localstack-python-client
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (22 loc) · 1.32 KB
Breadcrumbs
localstack-python-client
/
Makefile
Copy path
File metadata and controls
29 lines (22 loc) · 1.32 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
VENV_DIR
?= .venv
VENV_RUN
= .
$(
VENV_DIR
)
/bin/activate
PIP_CMD
?= pip
usage
:
#
# Show this help
@fgrep -h
"
##
"
$(
MAKEFILE_LIST
)
|
fgrep -v fgrep
|
sed -e
'
s/\\$$//
'
|
sed -e
'
s/##//
'
install
:
#
# Install dependencies in local virtualenv folder
(test
`
which virtualenv
`
||
$(
PIP_CMD
)
install --user virtualenv)
&&
\
(test -e
$(
VENV_DIR
)
||
virtualenv
$(
VENV_OPTS
)
$(
VENV_DIR
)
)
&&
\
(
$(
VENV_RUN
)
&&
$(
PIP_CMD
)
install --upgrade pip)
&&
\
(test
!
-e requirements.txt
||
(
$(
VENV_RUN
)
;
$(
PIP_CMD
)
install -r requirements.txt))
publish
:
#
# Publish the library to the central PyPi repository
#
build and upload archive
(
$(
VENV_RUN
)
&&
./setup.py sdist upload)
test
:
#
# Run automated tests
make lint
&&
\
(
$(
VENV_RUN
)
;
test
`
which localstack
`
||
pip install localstack)
&&
\
$(
VENV_RUN
)
;
DEBUG=
$(
DEBUG
)
PYTHONPATH=
`
pwd
`
nosetests --with-coverage --logging-level=WARNING --nocapture --no-skip --exe --cover-erase --cover-tests --cover-inclusive --cover-package=localstack_client --with-xunit --exclude=
'
$(VENV_DIR).*
'
.
lint
:
#
# Run code linter to check code style
(
$(
VENV_RUN
)
;
pep8 --max-line-length=100 --ignore=E128 --exclude=node_modules,legacy,
$(
VENV_DIR
)
,dist .)
clean
:
#
# Clean up virtualenv
rm -rf
$(
VENV_DIR
)
.PHONY
: usage install clean publish test lint
Back
|
FazBrowse Home
|
New Git URL