Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
main
pyicu
Commits
55196bc5
Commit
55196bc5
authored
Oct 21, 2021
by
Andi Vajda
Browse files
added pyproject.toml and updated build instructions
parent
8d4130cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
55196bc5
...
...
@@ -4,6 +4,7 @@ Version 2.7.4 ->
- added wrappers for UCurrNameStyle and for ucurr_getName() onto CurrencyUnit
- added support for ICU 70.1
- added FieldPosition-less overloads to RuleBasedNumberFormat.format()
- added pyproject.toml file to (also) build via python -m build
-
Version 2.7.3 -> 2.7.4
...
...
README.md
View file @
55196bc5
...
...
@@ -86,7 +86,7 @@ pre-built binary packages of ICU and PyICU, see below.
Before building PyICU the ICU libraries must be built and installed. Refer
to each system's
[
instructions
](
https://unicode-org.github.io/icu/userguide/icu4c/build.html
)
for more information.
PyICU is built with setuptools:
PyICU is built
from sources
with
``
setuptools
``
or with
``build``
and
``pip``
:
-
verify that
``pkg-config``
is available (the
``icu-config``
program is
[
deprecated
](
http://userguide.icu-project.org/howtouseicu#TOC-C-Makefiles
)
...
...
@@ -100,12 +100,18 @@ PyICU is built with setuptools:
Starting with ICU 60,
``-std=c++11``
must appear in your CFLAGS or be the
default for your C++ compiler.
-
build and install
pyicu
-
**either**
build and install
PyICU with
``setuptools``
```
sh
python setup.py build
sudo
python setup.py
install
```
-
**or**
build PyICU with
``build``
and install it with
``pip``
```
sh
python
-m
build
sudo
pip
install
dist/PyICU-<version>-<platform>.whl
```
## Running PyICU
-
Mac OS X
...
...
pyproject.toml
0 → 100644
View file @
55196bc5
[build-system]
requires
=
[
"setuptools"
,
]
build-backend
=
"setuptools.build_meta"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment