Skip to content

Commit

Permalink
Remove symlinks and add Pypi description
Browse files Browse the repository at this point in the history
  • Loading branch information
erdnaxe committed Jun 8, 2020
1 parent e880232 commit d8bb18a
Show file tree
Hide file tree
Showing 21 changed files with 29 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
*.pyc
.eggs
.idea
build
dist
*~
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
language: python

sudo: false

python:
"3.8"

cache:
directories:
- $HOME/.cache/pip

install:
- python setup.py install

script:
- echo

deploy:
provider: pypi
edge: true # opt in to dpl v2
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[![Documentation Status](https://img.shields.io/readthedocs/kraby?style=flat-square)](https://kraby.readthedocs.io/en/latest/)
[![License](https://img.shields.io/github/license/erdnaxe/kraby?style=flat-square)](LICENSE)
[![Travis (.com)](https://img.shields.io/travis/com/erdnaxe/kraby?style=flat-square)](https://travis-ci.com/github/erdnaxe/kraby)
[![PyPI](https://img.shields.io/pypi/v/gym_kraby?style=flat-square)](https://pypi.org/project/gym-kraby/)

# Kraby

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ These servomotors are similar to the more popular **Dynamixel AX-12**.

An [OpenAI Gym](https://gym.openai.com/) environment is available.
It uses [BulletPhysics](https://github.com/bulletphysics/bullet3) simulator
with [an URDF description](https://github.com/erdnaxe/kraby/blob/master/urdf_description/hexapod.urdf) of the robot.
with [an URDF description](https://github.com/erdnaxe/kraby/blob/master/gym_kraby/data/hexapod.urdf) of the robot.

---

Expand Down
6 changes: 3 additions & 3 deletions docs/urdf_description.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ for representing a robot model. It has been developed
by the Robotic Operating System project (ROS).

Kraby URDF description is available at
<https://github.com/erdnaxe/kraby/blob/master/urdf_description/hexapod.urdf>.
<https://github.com/erdnaxe/kraby/blob/master/gym_kraby/data/hexapod.urdf>.

---

Expand All @@ -14,9 +14,9 @@ Kraby URDF description is available at
To simplify URDF editing and to avoid input errors,
the project uses Jinja2[^xacro] templates to generate the URDF.
You may edit files under
[urdf_description/src/](https://github.com/erdnaxe/kraby/tree/master/urdf_description/src)
[gym_kraby/data/src/](https://github.com/erdnaxe/kraby/tree/master/gym_kraby/data/src)
then execute
[urdf_description/generate_urdf.py](https://github.com/erdnaxe/kraby/tree/master/urdf_description).
[gym_kraby/data/generate_urdf.py](https://github.com/erdnaxe/kraby/tree/master/gym_kraby/data).

[^xacro]: [Xacro](http://wiki.ros.org/xacro) could also be an option, but it
requires to install the ROS toolchain.
Expand Down
1 change: 0 additions & 1 deletion gym_kraby/data

This file was deleted.

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.
15 changes: 13 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
from setuptools import setup, find_packages
from setuptools import setup

# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='gym_kraby',
author='Alexandre Iooss',
author_email='erdnaxe@crans.org',
license='GPLv3',
url='https://kraby.readthedocs.io/',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
'gym',
'pybullet',
],
packages=find_packages(),
packages=['gym_kraby'],
package_data = {
# Include URDF and associated STL
'gym_kraby': ['data/*.urdf', 'data/meshes/*.stl'],
Expand All @@ -20,4 +28,7 @@
"local_scheme": "no-local-version"
},
setup_requires=['setuptools_scm'],
classifiers=[
'Programming Language :: Python',
],
)
1 change: 0 additions & 1 deletion urdf_description/meshes

This file was deleted.

0 comments on commit d8bb18a

Please sign in to comment.