Skip to content

Commit f2f0ac7

Browse files
committed
Replace distutils.log with basic logging in setup.py.
1 parent b6b7823 commit f2f0ac7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
from setuptools import setup
33
from setuptools.command.develop import develop
4-
from distutils import log
4+
import logging
55

66

77
class develop_command(develop):
@@ -11,7 +11,7 @@ def run(self):
1111
path = os.path.join(self.install_dir, 'labscript-suite.pth')
1212
super().run()
1313
if not self.uninstall:
14-
log.info(f'Copying labscript-suite.pth to {path}')
14+
logging.info(f'Copying labscript-suite.pth to {path}')
1515
if not self.dry_run:
1616
self.copy_file('labscript-suite.pth', path)
1717

0 commit comments

Comments
 (0)