-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpipenv_install.sh
More file actions
63 lines (42 loc) · 1.05 KB
/
pipenv_install.sh
File metadata and controls
63 lines (42 loc) · 1.05 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash -
#description :install pipenv and create foo environment
#author :Michele Gazzetti
#date :16.03.18
#notes :
#==============================================================================
validate_install(){
pipenv --python 2.7
pipenv --rm
}
sudo apt-get install -y python-pip
# install pipenv
sudo pip install pipenv
#validate installation
validate_install
## create environment
#pipenv --python 2.7
## (eq of workon)
#pipenv shell
## (install dev env)
#pipenv install --dev
## install requirements
#pipenv install -r requirements-local-cache.txt
## check packages installed
#pipenv graph
## locate project
#pipenv --where
## locate virtualenv
#pipenv --venv
## locate interpreter
#pipenv --py
## install nose for dev
#pipenv install nose --dev
## install neovim for dev
#pipenv install neovim --dev
## create requirements file
#pipenv lock -r > ../requirements.txt
## install requirements file
#pipenv install --requirements requirements.txt
#pipenv install neovim --dev
##
#pipenv check