setup.py.in 954 字节
Newer Older
Z
zhangjinchao01 已提交
1 2 3 4 5 6
from setuptools import setup

packages=['paddle',
          'paddle.proto',
          'paddle.trainer',
          'paddle.trainer_config_helpers',
Q
qiaolongfei 已提交
7
          'paddle.utils',
Y
Yu Yang 已提交
8 9
          'paddle.v2',
          'paddle.v2.dataset',
Y
Yancey1989 已提交
10
          'paddle.v2.reader',
H
Helin Wang 已提交
11
          'paddle.v2.master',
Q
qiaolongfei 已提交
12
          'paddle.v2.plot']
Z
zhangjinchao01 已提交
13

14 15 16
setup_requires=["requests",
                "numpy",
                "protobuf==3.1",
G
gongweibao 已提交
17
                "recordio",
18
                "matplotlib",
19 20
                "rarfile",
                "scipy>=0.19.0"]
21 22 23 24

if '${CMAKE_SYSTEM_PROCESSOR}' not in ['arm', 'armv7-a', 'aarch64']:
    setup_requires+=["opencv-python"]

Z
zhangjinchao01 已提交
25 26 27
setup(name='paddle',
      version='${PADDLE_VERSION}',
      description='Parallel Distributed Deep Learning',
28
      install_requires=setup_requires,
L
Luo Tao 已提交
29
      packages=packages,
H
Helin Wang 已提交
30
      package_data={'paddle.v2.master': ['${paddle_master_LIB_NAME}'], },
Z
zhangjinchao01 已提交
31 32
      package_dir={
          '': '${CMAKE_CURRENT_SOURCE_DIR}'
33
      },
Z
zhangjinchao01 已提交
34
)