mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 14:50:16 +00:00
Merge branch 'master' into check_api_override
This commit is contained in:
+1
-1
@@ -737,7 +737,7 @@
|
||||
6.0.0:
|
||||
- New locking functionality — support for multiple hashes per release!
|
||||
- Hashes are now default, everywhere, once again! We figured it out :)
|
||||
- Pipenv talks to the PyPi (Warehouse) API now for grabbing hashes.
|
||||
- Pipenv talks to the PyPI (Warehouse) API now for grabbing hashes.
|
||||
- --hashes flag removed.
|
||||
- Upgraded to Pipfile spec 2.
|
||||
- New --legacy mode for lock.
|
||||
|
||||
@@ -181,8 +181,8 @@ Fish is the best shell. You should use it.
|
||||
provided in Pipfile.
|
||||
clean Uninstalls all packages not specified in Pipfile.lock.
|
||||
graph Displays currently–installed dependency graph information.
|
||||
install Installs provided packages and adds them to Pipfile, or (if none
|
||||
is given), installs all packages.
|
||||
install Installs provided packages and adds them to Pipfile, or (if no
|
||||
packages are given), installs all packages from Pipfile.
|
||||
lock Generates Pipfile.lock.
|
||||
open View a given module in your editor.
|
||||
run Spawns a command installed into the virtualenv.
|
||||
|
||||
+1
-1
@@ -287,7 +287,7 @@ The user can provide these additional parameters:
|
||||
folder is encoded into a "slug value" and appended to ensure the virtualenv name
|
||||
is unique.
|
||||
|
||||
- ``--dev`` — Install both ``develop`` and ``default`` packages from ``Pipfile.lock``.
|
||||
- ``--dev`` — Install both ``develop`` and ``default`` packages from ``Pipfile``.
|
||||
- ``--system`` — Use the system ``pip`` command rather than the one from your virtualenv.
|
||||
- ``--ignore-pipfile`` — Ignore the ``Pipfile`` and install from the ``Pipfile.lock``.
|
||||
- ``--skip-lock`` — Ignore the ``Pipfile.lock`` and install from the ``Pipfile``. In addition, do not write out a ``Pipfile.lock`` reflecting changes to the ``Pipfile``.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Clarify `pipenv install` documentation
|
||||
@@ -209,7 +209,7 @@ def cli(
|
||||
|
||||
|
||||
@cli.command(
|
||||
short_help="Installs provided packages and adds them to Pipfile, or (if none is given), installs all packages.",
|
||||
short_help="Installs provided packages and adds them to Pipfile, or (if no packages are given), installs all packages from Pipfile.",
|
||||
context_settings=dict(ignore_unknown_options=True, allow_extra_args=True),
|
||||
)
|
||||
@system_option
|
||||
@@ -224,7 +224,7 @@ def install(
|
||||
state,
|
||||
**kwargs
|
||||
):
|
||||
"""Installs provided packages and adds them to Pipfile, or (if none is given), installs all packages."""
|
||||
"""Installs provided packages and adds them to Pipfile, or (if no packages are given), installs all packages from Pipfile."""
|
||||
from ..core import do_install
|
||||
|
||||
retcode = do_install(
|
||||
|
||||
@@ -166,7 +166,7 @@ def dev_option(f):
|
||||
state.installstate.dev = value
|
||||
return value
|
||||
return option("--dev", "-d", is_flag=True, default=False, type=click_booltype,
|
||||
help="Install package(s) in [dev-packages].", callback=callback,
|
||||
help="Install both develop and default packages.", callback=callback,
|
||||
expose_value=False)(f)
|
||||
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ class UploadCommand(Command):
|
||||
pass
|
||||
self.status("Building Source distribution…")
|
||||
os.system("{0} setup.py sdist bdist_wheel".format(sys.executable))
|
||||
self.status("Uploading the package to PyPi via Twine…")
|
||||
self.status("Uploading the package to PyPI via Twine…")
|
||||
os.system("twine upload dist/*")
|
||||
self.status("Pushing git tags…")
|
||||
os.system("git tag v{0}".format(about["__version__"]))
|
||||
|
||||
@@ -42,7 +42,7 @@ class UploadCommand(Command):
|
||||
self.status('Building Source and Wheel (universal) distribution…')
|
||||
os.system('{0} setup.py sdist bdist_wheel --universal'.format(sys.executable))
|
||||
|
||||
self.status('Uploading the package to PyPi via Twine…')
|
||||
self.status('Uploading the package to PyPI via Twine…')
|
||||
os.system('twine upload dist/*')
|
||||
|
||||
self.status('Pushing git tags…')
|
||||
|
||||
Reference in New Issue
Block a user