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

Implicit dependency on setuptools and no wheel #194

Closed
jaraco opened this issue Mar 28, 2020 · 1 comment · Fixed by #225
Closed

Implicit dependency on setuptools and no wheel #194

jaraco opened this issue Mar 28, 2020 · 1 comment · Fixed by #225

Comments

@jaraco
Copy link
Contributor

jaraco commented Mar 28, 2020

Attempting to install this package in an environment without setuptools pre-installed results in an error:

$ pip install pyrsistent
Collecting pyrsistent
  Using cached pyrsistent-0.16.0.tar.gz (108 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-qs14zm5c/pyrsistent/setup.py'"'"'; __file__='"'"'/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-qs14zm5c/pyrsistent/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-qs14zm5c/pyrsistent/pip-egg-info
         cwd: /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-install-qs14zm5c/pyrsistent/
    Complete output (3 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Would this project consider adding a pyproject.toml to declare its build dependency on setuptools and also consider uploading wheels with releases?

@astrojuanlu
Copy link

About wheels: #196

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 a pull request may close this issue.

2 participants