Miserlou / Miserlou/JonesComplexity

Missing setup.py

Open
#43 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
30
Forks
4
PR merge metrics
No merged PRs in 30d

Description

@sobolevn hello,

Why did you remove setup.py in the https://github.com/Miserlou/JonesComplexity/commit/69b3104d00c41ef75384ff752b374405e5884caf commit? I can not install the package because of this error.

(venv) vladimir@vladimir:~/projects/test_project$ pip install git+https://github.com/Miserlou/JonesComplexity
Collecting git+https://github.com/Miserlou/JonesComplexity
  Cloning https://github.com/Miserlou/JonesComplexity to /tmp/pip-req-build-ss8dwfbc
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  Complete output from command /home/vladimir/projects/test_project/venv/bin/python3 /home/vladimir/projects/test_project/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp0xd6m_lk:
  Traceback (most recent call last):
    File "/home/vladimir/projects/test_project/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/home/vladimir/projects/test_project/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/vladimir/projects/test_project/venv/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-wi775xxo/overlay/lib/python3.5/site-packages/setuptools/build_meta.py", line 130, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "/tmp/pip-build-env-wi775xxo/overlay/lib/python3.5/site-packages/setuptools/build_meta.py", line 112, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-wi775xxo/overlay/lib/python3.5/site-packages/setuptools/build_meta.py", line 123, in run_setup
      f = getattr(tokenize, 'open', open)(__file__)
    File "/usr/lib/python3.5/tokenize.py", line 454, in open
      buffer = _builtin_open(filename, 'rb')
  FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect commit 69b3104d00c41ef75384ff752b374405e5884caf and compare the repository before and after setup.py was removed. Reproduce the failure with pip install git+https://github.com/Miserlou/JonesComplexity; done means the package installs successfully from the repository without the reported setup.py error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.