-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 1.0.0 and PyPi support (#125)
- Loading branch information
Showing
9 changed files
with
34 additions
and
13 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
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,2 +1,6 @@ | ||
*build/ | ||
# Build artifacts | ||
build/ | ||
dist/ | ||
|
||
# Autogenerated worlds | ||
data/worlds/ |
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 @@ | ||
ROS 2 enabled 2D mobile robot simulator for behavior prototyping. | ||
|
||
Refer to the [GitHub repo](https://github.com/sea-bass/pyrobosim) or [full documentation](https://pyrobosim.readthedocs.io/) for more information. |
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,2 @@ | ||
[metadata] | ||
description-file = README.md |
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,4 @@ | ||
import os | ||
from os.path import join | ||
from setuptools import setup, find_packages | ||
|
||
# This is for standalone (non-ROS) use. | ||
|
@@ -10,10 +9,13 @@ def get_files_in_folder(directory): | |
file_list = [] | ||
for path, _, fnames in os.walk(directory): | ||
for filename in fnames: | ||
file_list.append(join("..", path, filename)) | ||
file_list.append(os.path.join("..", path, filename)) | ||
return file_list | ||
|
||
|
||
project_name = "pyrobosim" | ||
|
||
data_dir = os.path.join(project_name, "data") | ||
install_requires = [ | ||
"adjustText", | ||
"astar", | ||
|
@@ -28,17 +30,16 @@ def get_files_in_folder(directory): | |
"trimesh", | ||
] | ||
|
||
project_name = "pyrobosim" | ||
setup( | ||
name=project_name, | ||
version="0.0.0", | ||
version="1.0.0", | ||
url="https://github.com/sea-bass/pyrobosim", | ||
author="Sebastian Castro", | ||
author_email="[email protected]", | ||
description="ROS 2 enabled 2D mobile robot simulator for behavior prototyping.", | ||
license="MIT", | ||
install_requires=install_requires, | ||
packages=find_packages(), | ||
package_data={project_name: get_files_in_folder(join(project_name, "data"))}, | ||
package_data={project_name: get_files_in_folder(data_dir)}, | ||
zip_safe=True, | ||
) |
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 |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>pyrobosim_msgs</name> | ||
<version>0.0.0</version> | ||
<version>1.0.0</version> | ||
<description>Message definitions for pyrobosim package.</description> | ||
<maintainer email="[email protected]">Sebastian Castro</maintainer> | ||
<license>BSD</license> | ||
<license>MIT</license> | ||
|
||
<!-- Build dependencies --> | ||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
|
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 |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>pyrobosim_ros</name> | ||
<version>0.0.0</version> | ||
<version>1.0.0</version> | ||
<description>ROS 2 wrapper around pyrobosim.</description> | ||
<maintainer email="[email protected]">Sebastian Castro</maintainer> | ||
<license>BSD</license> | ||
<license>MIT</license> | ||
|
||
<!-- Build dependencies --> | ||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
|
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,14 +1,15 @@ | ||
from setuptools import setup, find_packages | ||
|
||
|
||
project_name = "pyrobosim_ros" | ||
|
||
install_requires = [ | ||
"pyrobosim", | ||
] | ||
|
||
project_name = "pyrobosim_ros" | ||
setup( | ||
name=project_name, | ||
version="0.0.0", | ||
version="1.0.0", | ||
url="https://github.com/sea-bass/pyrobosim", | ||
author="Sebastian Castro", | ||
author_email="[email protected]", | ||
|
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