forked from aldebaran/qibuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (41 loc) · 1.5 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## Copyright (c) 2012-2014 Aldebaran Robotics. All rights reserved.
## Use of this source code is governed by a BSD-style license that can be
## found in the COPYING file.
import os
from setuptools import setup, find_packages
def get_qibuild_cmake_files():
res = list()
cmake_dest = 'share/cmake'
for (root, directories, filenames) in os.walk('cmake'):
rel_root = os.path.relpath(root, 'cmake')
if rel_root == ".":
rel_root = ""
rel_filenames = [os.path.join('cmake', rel_root, x) for x in filenames]
rel_dest = os.path.join(cmake_dest, rel_root)
res.append((rel_dest, rel_filenames))
return res
data_files = get_qibuild_cmake_files()
setup(name="qibuild",
version="3.2.3",
description="The meta build framework",
url="https://community.aldebaran-robotics.com/doc/qibuild/",
author="Aldebaran Robotics",
py_modules=['qicd'],
packages=find_packages("python"),
package_dir={"": "python"},
include_package_data = True,
data_files=data_files,
license="BSD",
entry_points = {
"console_scripts" : [
"qidoc = qisys.main:main",
"qilinguist = qisys.main:main",
"qisrc = qisys.main:main",
"qibuild = qisys.main:main",
"qitest = qisys.main:main",
"qitoolchain = qisys.main:main",
"qimvn = qisys.main:main",
]
}
)