-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from pyros-dev/pipenv
Pipenv
- Loading branch information
Showing
14 changed files
with
157 additions
and
60 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export PIPENV_SITE_PACKAGES=true | ||
layout pipenv --site-packages |
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 |
---|---|---|
|
@@ -93,3 +93,7 @@ ENV/ | |
|
||
# Pycharm | ||
.idea | ||
|
||
# pipenv for multi version | ||
Pipfile.lock | ||
|
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 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,18 @@ | ||
[[source]] | ||
name = "pypi" | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
|
||
[dev-packages] | ||
gitchangelog = "*" | ||
twine = "==1.11.0" | ||
wheel = "==0.30.0" | ||
|
||
[packages] | ||
six = ">=1.10.0" | ||
pytest = ">=2.9.2" | ||
pyros-config = ">=0.2.1" | ||
|
||
[requires] | ||
# ROS1 officially only supports python 2.7 | ||
python_version = "2.7" |
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 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.. _index: | ||
|
||
Pyros-Setup | ||
=========== | ||
|
||
Toolsuite for running ROS environments directly from python code, without any specific requirements outside of usual python. | ||
|
||
This is a pure python package, to be installed in your system, in order to allow easy ROS access from your python environment. | ||
|
||
.. include:: weblinks.rst | ||
|
||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
readme_link | ||
overview | ||
develop | ||
changelog_link | ||
|
||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
|
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,19 @@ | ||
try: | ||
import rospy | ||
import roslaunch | ||
import rosgraph | ||
import rosnode | ||
except ImportError: # if ROS environment is not setup, we emulate it. | ||
print("!!! Original import failed. Attempting Pyros-Setup...") | ||
import pyros_setup | ||
pyros_setup.configurable_import().configure('mysetup.cfg').activate() # this will use mysetup.cfg from pyros-setup instance folder | ||
|
||
import rospy | ||
import roslaunch | ||
import rosgraph | ||
import rosnode | ||
|
||
print("rospy from: " + rospy.__file__) | ||
print("roslaunch from: " + roslaunch.__file__) | ||
print("rosgraph from: " + rosgraph.__file__) | ||
print("rosnode from: " + rosnode.__file__) |
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 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