diff --git a/requirements.txt b/requirements.txt index aecc0a081be537c500dffccf8aa4940d1a0881c1..9d7748adf401214b95099980aaaecb875e4f153e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ +pre-commit +yapf == 0.28.0 pandas treelib diff --git a/setup.py b/setup.py index eb19c180e290d2027047b8480281e92d0e86b273..490c42c95970cdd333de84e458eef910342076f1 100644 --- a/setup.py +++ b/setup.py @@ -6,9 +6,6 @@ long_description += "Usage: x2paddle --framework tensorflow --model tf_model.pb long_description += "GitHub: https://github.com/PaddlePaddle/X2Paddle\n" long_description += "Email: dltp-sz@baidu.com" -with open("requirements.txt") as fin: - REQUIRED_PACKAGES = fin.read() - setuptools.setup( name="x2paddle", version=x2paddle.__version__, @@ -19,7 +16,6 @@ setuptools.setup( long_description_content_type="text/plain", url="https://github.com/PaddlePaddle/x2paddle", packages=setuptools.find_packages(), - install_requires=REQUIRED_PACKAGES, classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License",