diff --git a/pre_dist.py b/pre_dist.py deleted file mode 100644 index 7fe7660..0000000 --- a/pre_dist.py +++ /dev/null @@ -1,13 +0,0 @@ -## internal use only - -def update_version(): - f = open("./whatsapp/constants.py", "r") - f = f.read() - - with open("./constants.py", "w+") as f1: - f1.write(f) - - from constants import VERSION - - with open("./.version", "w+") as f2: - f2.write(VERSION) \ No newline at end of file diff --git a/setup.py b/setup.py index 98731bf..0aab297 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,5 @@ from os import path from setuptools import setup -from pre_dist import update_version -update_version() from constants import VERSION this_directory = path.abspath(path.dirname(__file__))