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

Update README.md #155

Merged
merged 3 commits into from
Apr 12, 2024
Merged

Update README.md #155

merged 3 commits into from
Apr 12, 2024

Conversation

JFadanni
Copy link
Contributor

@JFadanni JFadanni commented Apr 4, 2024

Fixed pip command for installation from source.

The modification is necessary because in the master branch there is no "setup.py" file, making your previous command useless.

Giving to pip the path for the package pip install . will install the PyEMD package from the local folder.

The other proposed option skip the explicit download of the repo with git

JFadanni added 2 commits April 4, 2024 10:29
Fixed pip command for installation from source
fixed instruction for installation from sources
Copy link
Owner

@laszukdawid laszukdawid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for suggestions; they're very good and fitting :) However, to merge this, I'd ask to rephrase or delete the "the old" sentence. The main branch might not always "stable" and for most folks I'd strongly encourage installing only the pypi packages. And, those who know that it's possible to install from github directly they might also know about the difference between released and 'main' version. Besides, there's a build job on the merge to main, that whenever version changes it publishes a new package to pypi.

@@ -56,6 +56,8 @@ The quickest way to install package is through `pip`.

> \$ pip install EMD-signal

In this way you install the old version of PyEMD hosted on PyPi

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording of this sentence isn't correct. For one, it is the latest officially supported version rather than "the old". If feel strongly that there needs to be an explanation that this package is hosted on pypi then please reprahse it. Otherwise, I think this sentence doesn't add much to the doc and can be deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix the sentence and adjust the paragraph to improve the consistency of the instruction for the installation from source

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix the sentence and adjust the paragraph to improve the consistency of the instruction for the installation from source

Done

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, was traveling. Looks good!

@@ -67,7 +69,13 @@ To download the code you can either go to the source code page and click `Code -

Installing package from source is done using command line:

> \$ python setup.py install
> \$ python3 -m pip install .
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! Thank you for point out that setup hasn't been supported for a while.

Fixed wrong wording
@@ -56,6 +56,8 @@ The quickest way to install package is through `pip`.

> \$ pip install EMD-signal

In this way you install the old version of PyEMD hosted on PyPi

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, was traveling. Looks good!

@laszukdawid laszukdawid merged commit 90886e1 into laszukdawid:master Apr 12, 2024
1 check passed
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.

2 participants