Skip to content

Commit

Permalink
fix not publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Tumiz committed May 29, 2023
1 parent be01e2d commit d740f53
Show file tree
Hide file tree
Showing 10 changed files with 125 additions and 111 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/premerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,30 @@ jobs:
- name: label
uses: actions/labeler@v4

- name: Install pypa/build
if: github.event.pull_request.labels.name == 'automerge'
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
if: github.event.pull_request.labels.name == 'automerge'
run: >-
python3 -m
build
--sdist
--wheel
--outdir dist/
py3d
- name: Publish distribution to PyPI
if: github.event.pull_request.labels.name == 'automerge'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI }}

- name: Merge pull requests (automerge-action)
uses: pascalgn/automerge-action@v0.15.6
env:
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/publish.yml

This file was deleted.

8 changes: 4 additions & 4 deletions docs/Color.html
Original file line number Diff line number Diff line change
Expand Up @@ -15660,7 +15660,7 @@ <h1 id="Color">Color<a class="anchor-link" href="#Color">&#182;</a></h1><p><stro


<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain">
<pre>Color([0.67609222, 0.91449166, 0.83181058, 0.36628133])</pre>
<pre>Color([0.52115704, 0.71900571, 0.75428446, 0.45915314])</pre>
</div>

</div>
Expand Down Expand Up @@ -15700,11 +15700,11 @@ <h1 id="Color">Color<a class="anchor-link" href="#Color">&#182;</a></h1><p><stro


<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain">
<pre>Color([[[0.98735854, 0.02695018, 0.28340278, 0.4598214 ]],
<pre>Color([[[0.22573738, 0.82929734, 0.23292959, 0.151 ]],

[[0.04317002, 0.25006505, 0.54755818, 0.22689653]],
[[0.12904077, 0.31999456, 0.00117098, 0.77560767]],

[[0.41295083, 0.56281301, 0.90000974, 0.66217908]]])</pre>
[[0.57153407, 0.41033084, 0.67246616, 0.59211741]]])</pre>
</div>

</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/Data.html
Original file line number Diff line number Diff line change
Expand Up @@ -15660,7 +15660,7 @@ <h1 id="Data">Data<a class="anchor-link" href="#Data">&#182;</a></h1><p><strong>


<div class="jp-RenderedText jp-OutputArea-output jp-OutputArea-executeResult" data-mime-type="text/plain">
<pre>Data([0.2364316])</pre>
<pre>Data([0.11872946])</pre>
</div>

</div>
Expand Down
29 changes: 20 additions & 9 deletions docs/Rotation.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/Transform.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/Vector.html

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions docs/Vector3.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions py3d/py3d/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,14 @@ def z(self):
def z(self, v):
self[..., 2] = v

@property
def xy(self) -> Vector2:
return self[..., 0:2].view(Vector2)

@xy.setter
def xy(self, v):
self[..., 0:2] = v

@property
def xyz(self) -> Vector3:
return self[..., 0:3].view(Vector3)
Expand Down

0 comments on commit d740f53

Please sign in to comment.