setup.py 1.2 KB
Newer Older
1
import setuptools
J
jiangjiajun 已提交
2 3 4 5 6 7
import x2paddle

long_description = "X2Paddle is a toolkit for converting trained model to PaddlePaddle from other deep learning frameworks.\n\n"
long_description += "Usage: x2paddle --framework tensorflow --model tf_model.pb --save_dir paddle_model\n"
long_description += "GitHub: https://github.com/PaddlePaddle/X2Paddle\n"
long_description += "Email: dltp-sz@baidu.com"
8

W
wjj19950828 已提交
9 10 11
with open("requirements.txt") as fin:
    REQUIRED_PACKAGES = fin.read()

12 13
setuptools.setup(
    name="x2paddle",
J
jiangjiajun 已提交
14
    version=x2paddle.__version__,
15 16
    author="dltp-sz",
    author_email="dltp-sz@baidu.com",
J
jiangjiajun 已提交
17
    description="a toolkit for converting trained model to PaddlePaddle from other deep learning frameworks.",
J
jiangjiajun 已提交
18 19
    long_description=long_description,
    long_description_content_type="text/plain",
20 21
    url="https://github.com/PaddlePaddle/x2paddle",
    packages=setuptools.find_packages(),
W
wjj19950828 已提交
22
    install_requires=REQUIRED_PACKAGES,
23 24 25 26 27 28
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
    ],
    license='Apache 2.0',
J
jiangjiajun 已提交
29
    entry_points={'console_scripts': ['x2paddle=x2paddle.convert:main', ]})