فهرست منبع

pipenv: add page (#1791)

David Heimann 7 سال پیش
والد
کامیت
93c8c59f8c
1فایلهای تغییر یافته به همراه28 افزوده شده و 0 حذف شده
  1. 28 0
      pages/common/pipenv.md

+ 28 - 0
pages/common/pipenv.md

@@ -0,0 +1,28 @@
+# pipenv
+
+> Simple and unified Python development workflow.
+> Manages packages and the virtual environment for a project.
+
+- Create a new project:
+
+`pipenv`
+
+- Create a new project using Python 3:
+
+`pipenv --three`
+
+- Install a package:
+
+`pipenv install {{package_name}}`
+
+- Install all the dependencies for a project (including dev):
+
+`pipenv install --dev`
+
+- Uninstall a package:
+
+`pipenv uninstall {{package_name}}`
+
+- Start a shell within the created virtual environment:
+
+`pipenv shell`