Skip to content

Commit

Permalink
Merge pull request #59 from schaefed/replace-imp
Browse files Browse the repository at this point in the history
replace removed module imp by importlib
  • Loading branch information
pierre-rouanet committed Mar 21, 2024
2 parents dd76da1 + ce38d0c commit 05ad4a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env python

import imp
from importlib.machinery import SourceFileLoader
from setuptools import setup, find_packages

version = imp.load_source('dtw.version', 'dtw/version.py')
version = SourceFileLoader('dtw.version', 'dtw/version.py').load_module()


long_description = '''
Expand Down

0 comments on commit 05ad4a2

Please sign in to comment.