Skip to content

Versioneer not found when building distributution using python3 -m build #1

@ChristopherSzczyglowski

Description

When we try and build the package using the build module we receive the following error:

source env/bin/activate
python3 -m pip install build
python3 -m build

image

It seems like versioneer is not included in the temp environment that build creates for the purposes of building the package.

However, when we switch to using the sdist and bdist_wheel commands for setup.py we can build everything without error.

source env/bin/activate
python3 -m pip install wheel
python setup.py sdist bdist_wheel

Runs without errror

What is going on here?

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions