You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[33m8d87e55[m[33m ([1;31morigin/fix-requirement-files-not-being-dealt-with-correctly[m[33m, [1;32mfix-requirement-files-not-being-dealt-with-correctly[m[33m)[m fixed failure when trying to wheel a package that has dependencies in a requirements file
3
+
[33m5e92335[m[33m ([1;33mtag: 0.2.2[m[33m)[m Merge pull request #7 from cloudify-cosmo/logger-fix
4
+
[33m7d60140[m[33m ([1;31morigin/logger-fix[m[33m, [1;32mlogger-fix[m[33m)[m changed module to package and now no longer overriding user's logger
# create an archive by retrieving the source from a local path and output the tar.gz file to /tmp/<PACKAGE>.tar.gz (defaults to <cwd>/<PACKAGE>.tar.gz) and provides explicit Python versions supported by the package (which usually defaults to the first two digits of the Python version used to create the archive.)
# pass additional args to `pip wheel` (NOTE that conflicting arguments are not handled by wagon.)
41
+
wagon create -s cloudify-script-plugin==1.2 -a '--retries 5'
40
42
```
41
43
42
44
Regarding exclusions, note that excluding packages can result in an archive being non-installable. The user will be warned about this but creation will succeed. Creation validation, though (i.e. using the `--validate` flag), will fail and show an error incase the archive cannot be installed.
Copy file name to clipboardExpand all lines: README.rst
+53-28Lines changed: 53 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,19 +43,29 @@ Examples
43
43
44
44
.. code:: shell
45
45
46
-
# create an archive by retrieving the source from PyPI and keep the downloaded wheels (kept under <cwd>/plugin) and exclude the cloudify-plugins-common and cloudify-rest-client modules from the archive.
46
+
# create an archive by retrieving the source from PyPI and keep the downloaded wheels (kept under <cwd>/plugin) and exclude the cloudify-plugins-common and cloudify-rest-client packages from the archive.
# create an archive by retrieving the source from a URL and creating wheels from requirement files found within the archive. Then, validation of the archive takes place.
# create an archive by retrieving the source from a local path and output the tar.gz file to /tmp/<MODULE>.tar.gz (defaults to <cwd>/<MODULE>.tar.gz) and provides explicit Python versions supported by the module (which usually defaults to the first two digits of the Python version used to create the archive.)
# create an archive by retrieving the source from a local path and output the tar.gz file to /tmp/<PACKAGE>.tar.gz (defaults to <cwd>/<PACKAGE>.tar.gz) and provides explicit Python versions supported by the package (which usually defaults to the first two digits of the Python version used to create the archive.)
wagon create -s cloudify-script-plugin==1.2 -a '--retries 5'
52
54
53
-
Regarding exclusions, note that excluding modules can result in an
55
+
Regarding exclusions, note that excluding packages can result in an
54
56
archive being non-installable. The user will be warned about this but
55
57
creation will succeed. Creation validation, though (i.e. using the
56
58
``--validate`` flag), will fail and show an error incase the archive
57
59
cannot be installed.
58
60
61
+
Also note that Wagon doesn't currently provide a way for packaging
62
+
packages that are in editable mode. So, for instance, providing a
63
+
dev-requirements file which contains a ``-e DEPENDENCY`` requirement
64
+
will not be taken into consideration. This is not related to wagon but
65
+
rather to the default ``pip wheel`` implementation stating that it will
66
+
be "Skipping bdist\_wheel for #PACKAGE#, due to being editable". We
67
+
might allow processing editable provided dependencies in the future.
68
+
59
69
Install Packages
60
70
~~~~~~~~~~~~~~~~
61
71
@@ -68,17 +78,22 @@ Examples
68
78
69
79
.. code:: shell
70
80
71
-
# install a module from a local archive tar file and upgrade if already installed. Also, ignore the platform check which would force a module (whether it is or isn't compiled for a specific platform) to be installed.
81
+
# install a package from a local archive tar file and upgrade if already installed. Also, ignore the platform check which would force a package (whether it is or isn't compiled for a specific platform) to be installed.
0 commit comments