small naming fix
This commit is contained in:
parent
d13bc88ab0
commit
a3785c9180
|
@ -37,9 +37,9 @@ sync_data_from_s3:
|
||||||
aws s3 sync s3://$(BUCKET)/data/ data/
|
aws s3 sync s3://$(BUCKET)/data/ data/
|
||||||
|
|
||||||
## Set up python interpreter environment
|
## Set up python interpreter environment
|
||||||
setup_environment:
|
create_environment:
|
||||||
source /usr/local/bin/virtualenvwrapper.sh; mkvirtualenv $(PROJECT_NAME) --python=$(PYTHON_INTERPRETER)
|
source /usr/local/bin/virtualenvwrapper.sh; mkvirtualenv $(PROJECT_NAME) --python=$(PYTHON_INTERPRETER)
|
||||||
@echo ">>> Activate virtualenv with:\nworkon $(PROJECT_NAME)"
|
@echo ">>> New virtualenv created. Activate with:\nworkon $(PROJECT_NAME)"
|
||||||
|
|
||||||
## Test python environment is setup correctly
|
## Test python environment is setup correctly
|
||||||
test_environment:
|
test_environment:
|
||||||
|
|
|
@ -14,7 +14,8 @@ def main():
|
||||||
REQUIRED_PYTHON))
|
REQUIRED_PYTHON))
|
||||||
|
|
||||||
if system_major != required_major:
|
if system_major != required_major:
|
||||||
raise TypeError("This project requires Python {}. Found: {}".format(
|
raise TypeError(
|
||||||
|
"This project requires Python {}. Found: Python {}".format(
|
||||||
required_major, sys.version))
|
required_major, sys.version))
|
||||||
else:
|
else:
|
||||||
print(">>> Development environment passes all tests!")
|
print(">>> Development environment passes all tests!")
|
||||||
|
|
Loading…
Reference in New Issue