Skip to content

pip installation of csp pulls in source files at top-level of environment #526

Description

@AdamGlustein

Describe the bug

When you pip install csp, source files are being installed at the top-level of the user's environment. This clutters the environment and can cause potential issues with other packages.

To Reproduce

micromamba create -n csp-install-bug python=3.11
micromamba activate csp-install-bug
(csp-install-bug) pip install csp
(csp-install-bug) cd $CONDA_PREFIX; ls

bin              conda-meta  fonts    libexec  NOTICE          README.md  share  vcpkg.json
CMakeLists.txt   cpp         include  LICENSE  __pycache__     sbin       ssl    x86_64-conda_cos6-linux-gnu
compiler_compat  etc         lib      man      pyproject.toml  setup.py   var    x86_64-conda-linux-gnu

(csp-install-bug) cat pyproject.toml

...
[project]
name = "csp"
...

Expected behavior

The files should not be installed when you pip install csp.

Error Message

Runtime Environment

Additional context

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    part: distributionIssues and PRs related to distribution, e.g. pypa and condatype: bugConcrete, reproducible bugs

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions