From: =?utf-8?b?IlNaIExpbiAo5p6X5LiK5pm6KSI=?= <szlin@debian.org>
Date: Tue, 20 Dec 2022 15:05:20 +0800
Subject: Remove unnecessary copyfile function

---
 setup.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index ff5d362..33ac5ac 100644
--- a/setup.py
+++ b/setup.py
@@ -7,10 +7,7 @@ import sys
 
 from setuptools import setup, find_packages
 
-if os.path.isfile('pdd'):
-    shutil.copyfile('pdd', 'pdd.py')
-
-with open('pdd.py', encoding='utf-8') as f:
+with open('pdd', encoding='utf-8') as f:
     version = re.search('_VERSION_ = \'([^\']+)\'', f.read()).group(1)
 
 with open('README.md', encoding='utf-8') as f:
