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 9 10

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