Skip to content

Commit

Permalink
newer python compatibility: prefer setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jan 22, 2024
1 parent b6bd816 commit f33d7c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,10 @@ def make_rpm() -> None:

def sdist() -> None:
record_vcs_info()
from distutils.core import setup
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="xpra-html5",
version=VERSION,
Expand Down

0 comments on commit f33d7c4

Please sign in to comment.