diff options
author | Radomir Dopieralski <openstack@sheep.art.pl> | 2023-04-26 17:18:37 +0200 |
---|---|---|
committer | Radomir Dopieralski <openstack@sheep.art.pl> | 2023-04-26 17:18:37 +0200 |
commit | 1d687bef3d8cfad66213e8cf9e96e0aa17aae198 (patch) | |
tree | 3997b229cf6670ab1b80a81d2055131a88d62a4b | |
parent | 832747e67f718e9e4df165b048bc73fb6bd0bdc8 (diff) | |
download | xstatic-git-1d687bef3d8cfad66213e8cf9e96e0aa17aae198.tar.gz |
Explicitly import pkg_resources in setup.py
Since recent versions of setuptools no longer impiort pkg_resources
internally, and the xstatic namespace mechanism relies on that
package being imported, we need to explicitly import it in setup.py
now, otherwise we can randomly get failures when installing multiple
xstatic packages as dependencies, depending on the order in which
pypi decides to install them.
-rw-r--r-- | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ XStatic - setup.py import os from setuptools import setup, find_packages +import pkg_resources # The README.txt file should be written in reST so that PyPI can use # it to generate your project's PyPI page. |