--- pathtools-0.1.2/setup.py 2011-08-25 02:25:25.000000000 -0700
+++ pathtools-0.1.2/setup.py.new 2023-08-25 18:37:49.654134759 -0700
@@ -22,12 +22,10 @@
# THE SOFTWARE.
import os
-import imp
from setuptools import setup
PKG_DIR = 'pathtools'
-version = imp.load_source('version',
- os.path.join(PKG_DIR, 'version.py'))
+version = ||VERSION||
def read_file(filename):
"""
@@ -40,7 +38,7 @@
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(name='pathtools',
- version=version.VERSION_STRING,
+ version=version,
description='File system general utilities',
long_description=read_file('README'),
author="Yesudeep Mangalapilly",