这是indexloc提供的服务,不要输入任何密码
Skip to content

Import behavior with editable install #583

@Ulthran

Description

@Ulthran

Say you've git cloned sunbeam to sunbeam/. Running pip install -e sunbeam/ and then trying from sunbeam import __version__ will fail (which is done in the Snakefile). If you instead install with cd sunbeam/ && pip install . then the above works.

Another interesting thing, with the first option, if you instead run from sunbeam.__init__ import __version__ it works. Way too much weirdness.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions