Determine the package name and version automatically