Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Packaging: "Guard" calls to setuptools.setup() behind if __name__ == '__main__' #4295

@dhermes

Description

@dhermes

This way our setup.py files could be imported (for example).

This is low-priority, but an easy change to make.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions