Skip to content

Commit

Permalink
Pypi release (#7)
Browse files Browse the repository at this point in the history
* added pin to install requires

* setup.cfg to pyproject and automatic building added

Co-authored-by: Vladimir Petrik <[email protected]>
  • Loading branch information
petrikvladimir and petrikvladimir authored Nov 28, 2022
1 parent 8ca84dc commit 9d997b6
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 25 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish to PyPI.org
on:
release:
types: [ published ]
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
31 changes: 31 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]

[project]
name = "robomeshcat"
dynamic = ["version"]
license = { text = "BSD-2-Clause" }
authors = [
{ name = "Vladimir Petrik", email = "[email protected]" },
]
description = "RoboMeshCat - Set of utilities for visualizing robots in web-based visualizer MeshCat."
readme = "README.md"
requires-python = ">=3.6"
dependencies = ["pin", "meshcat", "trimesh", "imageio", "imageio-ffmpeg"]
classifiers = [
"Topic :: Scientific/Engineering :: Visualization",
"Framework :: Robot Framework",
]

[project.urls]
"Homepage" = "https://github.com/petrikvladimir/RoboMeshCat"
"Bug Tracker" = "https://github.com/petrikvladimir/RoboMeshCat/issues"

[project.optional-dependencies]
dev = [
"pycollada", # used to load 'dae' meshes
]

25 changes: 0 additions & 25 deletions setup.cfg

This file was deleted.

0 comments on commit 9d997b6

Please sign in to comment.