referenced from :
https://realpython.com/pipenv-guide/ (english)
install
$ pip install pipenv
$ brew install pipenv
make virtualenv
$ mkdir myenv
$ cd myenv
$ pipenv --python 3.6
install requirements pipenv
$ cd my_project
$ pipenv install
pipenv package install & uninstall
$ pipenv install beautifulsoup4
$ pipenv uninstall beautifulsoup4
freeze → pip freeze > "requirements.txt"
$ pipenv lock
install package to development version
$ pipenv install --dev pytest
install development version requirements
install development version requirements
$ pipenv install --dev
activate pipenv virtualenv
$ pipenv shell
deactivate pipenv virtualenv
$ exit
run pipenv without activate
$ pipenv run which python
$ pipenv run python my_project.py
No comments:
Post a Comment