Skip to content

Commit

Permalink
reduce python site-package dir juggling.
Browse files Browse the repository at this point in the history
* We may not need anything more than copies of the 3.10 stamped noarch
  Python libs moved into the current system python site-packages.

Change-Id: I967e710fa2a2bf69e5b739462dd364c06686f2c7
  • Loading branch information
sadsfae committed Apr 12, 2024
1 parent 473eaf4 commit b29a288
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,13 @@ rpm -ivh --nodeps https://funcamp.net/w/python3-wordpress-xmlrpc-2.3-14.noarch.r
```
This package is also available via `pip` via `pip install python-wordpress-xmlrpc`

* As this package was not rebuilt for Fedora38+ you'll need to employ a workround for nerwer versions of Python for this to function.
* As this package was not rebuilt for Fedora38+ you'll need to employ a workaround for newer versions of Python for this to function.
* If `python --version` is anything other than `Python 3.10` you'll need:

```
mypythonversion=$(python --version | sed 's/Python //' | sed 's/..$//')
cd /usr/lib
mv python3.10 python3.10-workaround
rsync -avH python3.10-workaround/site-packages/* python$mypythonversion/site-packages/
ln -s python$mypythonversion python3.10
rsync -avH python3.10/site-packages/wordpress_xmlrpc python$mypythonversion/site-packages/
```

In QUADS 2.0 **this package dependency is no longer needed**
Expand Down

0 comments on commit b29a288

Please sign in to comment.