-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (39 loc) · 1.24 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
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
# This setup.py is only for use with catkin. Remember not to invoke it yourself.
#
#
# Put that script in the top directory of your package, and add this
# to your CMakeLists.txt:
#
# catkin_python_setup()
#
#
## About Modules
# Standard ROS practice is to place Python modules under
# the src/your_package subdirectory, making the top-level
# module name the same as your package. Python requires
# that directory to have an __init__.py file, too.
#
#
## About "scripts" argument
# ROS Users should generally not use the scripts argument, as in ROS,
# executables should be executed using rosrun rather than being installed
# to the global bin folder. One way of installing such python scripts is
# to add the following to the CMakeLists.txt:
#
# install(PROGRAMS scripts/myscript
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
#
# see also: http://docs.ros.org/indigo/api/catkin/html/howto/format2/installing_python.html
#
# kindly, sysadmin ;)
#
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
setup_args = generate_distutils_setup(
packages=['simple_biped'],
scripts=[''],
package_dir={'': 'src'}
)
setup(**setup_args)