-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructuring to extract tests, fix package dist, replace ros submodu…
…les with pips
- Loading branch information
Showing
84 changed files
with
63 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
*.pyc | ||
build | ||
dist | ||
.tox | ||
.hypothesis | ||
*.egg-info | ||
.cache | ||
.idea | ||
__pycache__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
[submodule "rosdeps/genmsg"] | ||
path = rosdeps/genmsg | ||
url = https://github.com/ros/genmsg.git | ||
[submodule "rosdeps/genpy"] | ||
path = rosdeps/genpy | ||
url = https://github.com/ros/genpy.git | ||
[submodule "rosdeps/std_msgs"] | ||
path = rosdeps/std_msgs | ||
[submodule "tests/rosdeps/std_msgs"] | ||
path = tests/rosdeps/std_msgs | ||
url = https://github.com/ros/std_msgs.git | ||
[submodule "rosdeps/ros_comm_msgs"] | ||
path = rosdeps/ros_comm_msgs | ||
[submodule "tests/rosdeps/ros_comm_msgs"] | ||
path = tests/rosdeps/ros_comm_msgs | ||
url = https://github.com/ros/ros_comm_msgs.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# default | ||
include README.rst | ||
include setup.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
gitchangelog | ||
twine | ||
pytest>=2.8.0, # as per hypothesis requirement (careful with 2.5.1 on trusty) | ||
pytest-xdist, # for --boxed (careful with the version it will be moved out of xdist) | ||
hypothesis>=3.0.1, # to target xenial LTS version | ||
numpy>=1.8.2, # from trusty version | ||
rosimport | ||
pytest>=2.8.0 # as per hypothesis requirement (careful with 2.5.1 on trusty) | ||
pytest-xdist # for --boxed (careful with the version it will be moved out of xdist) | ||
hypothesis>=3.0.1 # to target xenial LTS version | ||
numpy>=1.8.2 # from trusty version | ||
|
||
# source access to latest filefinder from git ... | ||
#-e git+https://github.com/asmodehn/filefinder2.git#egg=filefinder2 | ||
#-e git+https://github.com/asmodehn/rosimport.git#egg=rosimport | ||
# source access to latest filefinder and rosimport from git ... | ||
-e git+https://github.com/asmodehn/filefinder2.git#egg=filefinder2 | ||
-e git+https://github.com/asmodehn/rosimport.git#egg=rosimport | ||
|
||
# ros dependencies (necessary when running tests from install) | ||
-e git+https://github.com/asmodehn/genmsg.git@setuptools#egg=ros_genmsg | ||
-e git+https://github.com/asmodehn/genpy.git@setuptools#egg=ros_genpy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pyros_msgs/msg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +0,0 @@ | ||
from __future__ import absolute_import, division, print_function | ||
# This is a namespace package to merge the ROS generated messages and the python subpackage sources | ||
# Note : this file must be loaded first in order for other subpackages to be found | ||
# Note : this works for development packages only if pyros_setup has been activated | ||
# because it will put egg directories on pythonpath FIRST. | ||
|
||
# Ref : https://packaging.python.org/namespace_packages/ | ||
|
||
# pkgutil does not seem, somehow, to be compatible with ROS devel space... | ||
# import pkgutil | ||
# __path__ = pkgutil.extend_path(__path__, __name__) | ||
|
||
# Be aware : https://github.com/jonparrott/namespace-pkg-tests/blob/master/table.md | ||
import pkg_resources | ||
pkg_resources.declare_namespace(__name__) | ||
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule genmsg
deleted from
490b37
Submodule genpy
deleted from
cb0713
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule ros_comm_msgs
updated
from 000000 to bfb853
Submodule std_msgs
updated
from 000000 to 474568
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from __future__ import absolute_import, division, print_function | ||
|
||
import os | ||
import sys | ||
import site | ||
|
||
added_site_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'rosdeps') | ||
print("Adding site directory {0} to access genmsg, genpy and, std_msgs".format(added_site_dir)) | ||
site.addsitedir(added_site_dir) | ||
|
||
# Using genpy directly if ROS has been setup (while using from ROS pkg) | ||
import genpy, genmsg | ||
|
||
print(sys.path) | ||
|
||
import rosimport | ||
rosimport.activate() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from __future__ import absolute_import, division, print_function | ||
|
||
import os | ||
import sys | ||
import site | ||
|
||
# This is used for message definitions, not for python code | ||
site.addsitedir(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'rosdeps')) | ||
|
||
# Using genpy directly if ROS has been setup (while using from ROS pkg) | ||
import genpy, genmsg | ||
|
||
import rosimport | ||
rosimport.activate() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters