Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Add installation instructions to README.md #140

Merged
merged 5 commits into from
Mar 2, 2021
Merged

Conversation

ddelange
Copy link
Contributor

@ddelange ddelange commented Feb 18, 2021

I've had to point colleagues running Mac to https://gist.github.com/ddelange/6e04e81b99fae08e817a00515d4a378d repeatedly, so why not add it here :)

Closes #139

Copy link
Owner

@ovalhub ovalhub left a comment

Choose a reason for hiding this comment

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

These are instructions for people using homebrew, not for everyone.
Please, make sure to highlight the fact that using homebrew is not required, untested (by me,
I don't use homebrew), and that it's an all-or-nothing decision. There is no (or difficult) sharing between built/installed-by-homebrew binaries and regular binaries installed using the Apple command line dev tools or Xcode.

Copy link
Owner

@ovalhub ovalhub left a comment

Choose a reason for hiding this comment

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

About the Debian part, sure, these instructions are pretty generic. I'm still loathe to recommend people just run "apt-get update" as that could break their setup as other, unrelated, things might get upgraded too, or am I confusing update with upgrade here ?

@ddelange
Copy link
Contributor Author

Hi @ovalhub, sounds reasonable! let me know what you think:

For Mac:

  1. let's split installing icu4c and installing pyicu into separate bullet points?

  2. for the first bullet-point, let's link to installing from source first and offer the brew codeblock as alternative (I'm happily using it, see the gist for full working example)? Could you formulate your warning about brew into a quote I can copy-paste above the codeblock?

  3. could you provide your favourite link for installing icu4c from source? I couldn't immediately find it on http://site.icu-project.org
    For Debian:

  4. same link to source installation first? or can be omitted here as apt is deeply integrated in Debian?

  5. apt-get update doesnt touch packages, only updates package lists, should be safe. for the rest all good? or anything you'd like to additionally see there?

  6. also split into two bullet points for libicu-dev and pyicu?

  7. Shall I change the pip commands to capitalized PyICU (not that it matters, but for the looks)?

@ddelange
Copy link
Contributor Author

  1. Do you want me to squash and force push or shall I do an additional commit?

@ovalhub
Copy link
Owner

ovalhub commented Feb 19, 2021 via email

@ovalhub
Copy link
Owner

ovalhub commented Feb 19, 2021 via email

@ddelange
Copy link
Contributor Author

ddelange commented Mar 2, 2021

The decision to use homebrew for pyicu depends on the decision to use homebrew for python itself.

I can confirm, and have updated the installation instructions. Please let me know if you want to see it with more verbosity (I can also link to your comment actually, let me do that..)

AFAIK it doesn't matter how ICU itself was compiled (e.g. I use clang-compiled CPython from pyenv, and ICU from homebrew). Just as long as the compiler used for Python and the compiler used for PyICU match up. Please correct me though if you know of edge cases.

@ddelange
Copy link
Contributor Author

ddelange commented Mar 2, 2021

I believe pyicu is available from Debian directly

👍 added link

Please let me know if you'd like to see more verbosity anywhere!

@ddelange ddelange requested a review from ovalhub March 2, 2021 12:12
@ovalhub
Copy link
Owner

ovalhub commented Mar 2, 2021 via email

Copy link
Owner

@ovalhub ovalhub left a comment

Choose a reason for hiding this comment

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

LGTM, thank you !

@ovalhub ovalhub merged commit f67ebda into ovalhub:master Mar 2, 2021
@ovalhub
Copy link
Owner

ovalhub commented Mar 2, 2021

thank you for your contribution !

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

Successfully merging this pull request may close these issues.

How install pyicu to ubuntu 20.04?
2 participants