GithubHelp home page GithubHelp logo

xarthurx / polyscope-py Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nmwsharp/polyscope-py

0.0 0.0 0.0 262 KB

Python bindings for Polyscope

License: MIT License

C++ 44.03% Python 55.72% CMake 0.26%

polyscope-py's Introduction

polyscope-py

Python bindings for Polyscope. https://polyscope.run/py

Linux macOS Windows PyPI Conda

This library is a python wrapper and deployment system. The core library lives at https://github.com/nmwsharp/polyscope. See documentation at https://polyscope.run/py.

To contribute, check out the instructions here.

Installation

python -m pip install polyscope

or

conda install -c conda-forge polyscope

polyscope-py should work out-of-the-box on any combination of Python 3.5-3.9 and Linux/macOS/Windows. Your graphics hardware must support OpenGL >= 3.3 core profile.

For developers

This repo is configured with CI on github actions.

  • By default, all commits to the main branch build & run tests. Use [ci skip] to skip this.
  • Tagging a commit with [ci build] causes it to also build all precompiled wheels and upload them as artifacts.
  • Creating a tagged version like v1.2.3 will build wheels as above, and ALSO automatically upload them to pypi as described below.

Deploy a new version

  • Commit the desired version to the master branch, be sure the version string in setup.py corresponds to the new version number. Use the [ci build] tag in the commit message to trigger builds, which should take about an hour.
  • Watch the github actions builds to ensure all wheels build successfully. The resulting binaries will be saved as artifacts if you want try test with them.
  • While you're waiting, update the docs, including the changelog.
  • Tag the commit with a tag like v1.2.3, matching the version in setup.py. This will kick off a new github actions build which deploys the wheels to PyPI after compilation.
  • If we are still doing builds with multiple rounds of actions, it may be necessary to manually upload some of the generated wheels. Download from the github actions Summary/Artifacs pane, then upload with twine upload * --skip-existing
  • Update the conda builds by committing to the feedstock repository. This generally just requires bumping the version number and updating the hash in meta.yml. Since meta.yml is configured to pull source from PyPi, you can't do this until after the source build has been uploaded from the github action.

polyscope-py's People

Contributors

alecjacobson avatar marndorfer avatar nmwsharp avatar tmcarey avatar weshoke avatar xarthurx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.