Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use setuptools instead of distutils #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikepurvis
Copy link

Our build tool attempts to pass all python packages the egg_info command, which allows controlling where the egg_info gets generated in order to do an out-of-source build. This fails on some older distutils setups, eg:

Starting >>> python-npyscreen
--- stderr: python-npyscreen
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'egg_info'
---
Failed   <<< python-npyscreen [0.37s, exited with code 1]

This should be a safe, drop in replacement.

Some context: https://stackoverflow.com/questions/25337706/setuptools-vs-distutils-why-is-distutils-still-a-thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant