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

Do not invoke setupy.py directly. #418

Merged
merged 1 commit into from
Oct 21, 2021
Merged

Conversation

Carreau
Copy link
Contributor

@Carreau Carreau commented Oct 21, 2021

invoking setup.py directly is not the best way to install a package from
source. See one of the most recent blog about this:

https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

This updates the readme to invoke pip, and use python -m pip to make
sure that the pip which is invoked is the one from the current Python.

i'm also happy to make it python3 -m pip, but these days python points
to python 3 most of the time.

References to other Issues or PRs or Relevant literature

Brief description of what is fixed or changed

Other comments

invoking setup.py directly is not the best way to install a package from
source. See one of the most recent blog about this:

https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

This updates the readme to invoke pip, and use `python -m pip` to make
sure that the pip which is invoked is the one from the current Python.

i'm also happy to make it `python3 -m pip`, but these days python points
to python 3 most of the time.
@codecov
Copy link

codecov bot commented Oct 21, 2021

Codecov Report

Merging #418 (29adc2c) into master (6246354) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #418   +/-   ##
=========================================
  Coverage   98.611%   98.611%           
=========================================
  Files           27        27           
  Lines         3530      3530           
=========================================
  Hits          3481      3481           
  Misses          49        49           

Impacted file tree graph

@czgdp1807
Copy link
Member

Thanks for the PR.

@czgdp1807 czgdp1807 merged commit c726bf2 into codezonediitj:master Oct 21, 2021
@czgdp1807 czgdp1807 added documentation Improvements or additions to documentation enhancement New feature or request workflow hacktoberfest-accepted labels Oct 21, 2021
@Carreau Carreau deleted the setuppy branch October 21, 2021 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants