Removed redundant copying of the file "pool_transactions_sandbox" to the directory "~/.plenum". (It is already done using "data_files" argument of "setup" function call.)
-import shutil
-import sys
import os
-from setuptools import setup, find_packages, __version__
-from pip.req import parse_requirements
-import data
+import sys
+from setuptools import setup, find_packages, __version__
v = sys.version_info
if sys.version_info < (3, 5):
@@ -88,10 +85,6 @@ if not os.path.exists(CONFIG_FILE):
"example\n"
f.write(msg)
-DATA_DIR = os.path.dirname(data.__file__)
-shutil.copyfile(os.path.join(DATA_DIR, "pool_transactions_sandbox"),
- POOL_TXN_FILE)
-
# TODO: This code should not be copied here.
import getpass
