From d94a736d84fcf3a59ca7ce926af18ad03e4fe37d Mon Sep 17 00:00:00 2001 From: Nayana Hettiarachchi Date: Wed, 14 Sep 2022 23:13:15 +0700 Subject: [PATCH] python3 compatible --- requirements.txt | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..bed6d2d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +setuptools~=60.2.0 +PyYAML~=6.0 \ No newline at end of file diff --git a/setup.py b/setup.py index 158b43a..905748a 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -execfile('yaml_cli/version.py') +exec(open("yaml_cli/version.py").read()) def params(): name = 'yaml_cli' # This is the name of your PyPI-package.