Skip to content

Update docs for site-packages #157

Description

@KitStarLee

The document states that “By default, Serious Python expects Python dependencies installed into pypackages directory in the root of app directory. You can add additional paths to look for 3rd-party packages using modulePaths parameter”

But in the code,Only Pyodide will use the pypackages folder ? why??
if (platform != "Pyodide") { if (Platform.environment .containsKey(sitePackagesEnvironmentVariable)) { sitePackagesRoot = Platform.environment[sitePackagesEnvironmentVariable]; } sitePackagesRoot = path.join(tempDir.path, defaultSitePackagesDir); if (sitePackagesRoot == null || sitePackagesRoot.isEmpty) { sitePackagesRoot = path.join(currentPath, "build", "site-packages"); } } else { sitePackagesRoot = path.join(tempDir.path, defaultSitePackagesDir); }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions