| Type | Name and description |
|---|---|
static PackageInfo |
fromPath(java.lang.String packagePath)Derives a Python package's name and version from its path. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Derives a Python package's name and version from its path.
This method only recognizes packages with the following extensions. A Python package that doesn't have one of the following exceptions will raise an exception.
A path to a expanded Python package can be provided as long as the path to the expanded Python package refers to the directory that contains the Python package.
This method only recognizes Python packages that follow the convention
(name)-(version)[-(extra)].(extension). The
extrafield may include something like
-SNAPSHOTor
-linkedin1. A Python package that doesn't follow this convention will raise an exception.
packagePath - The path to a Python package.