manim/.github/workflows/python-publish.yml
Naveen M K 88f8252b4b
Move to Poetry (#165)
* Add necessary files and fix readme

* remove poetry.lock

* Change some things

* Add Github action to Publish

* Specify rich version - updates in setup.py

* Add lock file

* Add some docs about poetry

* Add some docs and upgrade rich

* remove Setup.py

* Github Action using Poetry

* Fix tests

* Move to py 3.7 until poetry fixes it

* Remove 3.6

* Looks like 3.6 works now

* Fix Path for CI

* Windows build

* Add CI that actually works

* Fix some spaces

* Update docs and fix windows test

* Fix windows run

* Change some formatting -Docs

Co-authored-by: Leo Torres <dleonardotn@gmail.com>

* Some docs update

* Change doc url Pyproject - Some formatting docs - change ci on release event

* Change to manimlib

CC. https://github.com/ManimCommunity/manim/pull/165#discussion_r481128270

* Some formatting changes

* Merge branch 'master' of https://github.com/ManimCommunity/manim into poetry-change-new

* Remove pytest.ini and Have a note in Readme

* Update some docs

* Update Authors field

* Make readthedocs work

Co-authored-by: Leo Torres <dleonardotn@gmail.com>
2020-09-10 08:59:34 -04:00

16 lines
360 B
YAML

name: Upload Python Package
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
#TODO: Set an API key from PyPI `PYPI_API_KEY` in secrets tab.
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1
with:
pypi_token: ${{ secrets.PYPI_API_KEY }}