From 7cff695da46883033771f59b12996a93269852d7 Mon Sep 17 00:00:00 2001 From: Stefano Date: Mon, 6 Mar 2023 11:24:23 +0100 Subject: [PATCH] Changed name and addressed reviews. --- .github/workflows/ci_cd.yml | 65 +------------------------------------ README.md | 6 ++-- pyproject.toml | 3 -- setup.cfg | 23 ++++--------- 4 files changed, 11 insertions(+), 86 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 358818c0..9ec647a7 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -9,42 +9,6 @@ on: jobs: - package: - name: Package the project - runs-on: ubuntu-22.04 - - steps: - - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - - name: Install Python tools - run: pip install build twine - - - name: Create distributions - run: python -m build -o dist/ - - - name: Inspect dist folder - run: ls -lah dist/ - - - name: Check wheel's abi and platform tags - run: test $(find dist/ -name *-none-any.whl | wc -l) -gt 0 - - - name: Run twine check - run: twine check dist/* - - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - path: dist/* - name: dist - test: name: 'Python${{ matrix.python }}@${{ matrix.os }}' needs: package @@ -80,31 +44,4 @@ jobs: run: pip install dist/*.whl - name: Import the package - run: python -c "import stepwise" - - publish: - name: Publish to PyPI - needs: test - runs-on: ubuntu-22.04 - - steps: - - - name: Download Python packages - uses: actions/download-artifact@v3 - with: - path: dist - name: dist - - - name: Inspect dist folder - run: ls -lah dist/ - - - name: Publish to PyPI - if: | - github.repository == 'ami-iit/stepwise' && - ((github.event_name == 'push' && github.ref == 'refs/heads/main') || - (github.event_name == 'release')) - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }} - skip_existing: true + run: python -c "import hippopt" diff --git a/README.md b/README.md index 2316fcc2..5673f586 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# stepwise -### A Python-based Trajectory Optimization Framework +# hippopt +### HIghly Pythonized Planning and OPTimization framework -StepWise is an open-source framework for generating whole-body trajectories for legged robots, with a focus on direct transcription of optimal control problems solved with multiple-shooting methods. The framework takes as input the robot model and generates optimized trajectories that include both kinematic and dynamic quantities. +hippopt is an open-source framework for generating whole-body trajectories for legged robots, with a focus on direct transcription of optimal control problems solved with multiple-shooting methods. The framework takes as input the robot model and generates optimized trajectories that include both kinematic and dynamic quantities. ## Features diff --git a/pyproject.toml b/pyproject.toml index 5dd01a33..884d3a71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,3 @@ line-length = 88 [tool.isort] profile = "black" multi_line_output = 3 - -[tool.cibuildwheel] -build-frontend = "build" diff --git a/setup.cfg b/setup.cfg index 54cd63be..41a422a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] -name = stepwise -description = A Python-based Trajectory Optimization Framework +name = hippopt +description = HIghly Pythonized Planning and OPTimization framework long_description = file: README.md long_description_content_type = text/markdown author = Stefano Dafarra @@ -8,12 +8,12 @@ author_email = stefano.dafarra@iit.it license = BSD-2 license_files = LICENSE platforms = any -url = https://github.com/ami-iit/stepwise +url = https://github.com/ami-iit/hippopt project_urls = - Changelog = https://github.com/ami-iit/stepwise/releases - Source = https://github.com/ami-iit/stepwise - Tracker = https://github.com/ami-iit/stepwise/issues + Changelog = https://github.com/ami-iit/hippopt/releases + Source = https://github.com/ami-iit/hippopt + Tracker = https://github.com/ami-iit/hippopt/issues keywords = trajectory @@ -37,8 +37,6 @@ classifiers = Operating System :: MacOS Operating System :: Microsoft :: Windows Programming Language :: Python :: 3 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3 :: Only @@ -50,14 +48,8 @@ zip_safe = False packages = find: package_dir = =src -python_requires = >=3.8 +python_requires = >=3.10 install_requires = - coloredlogs - mashumaro - numpy - packaging - scipy - xmltodict [options.extras_require] style = @@ -67,7 +59,6 @@ pptree = pptree all = %(style)s - %(pptree)s [options.packages.find] where = src