plotis 0.1.6.2__tar.gz → 0.1.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- # This workflow will, when pushing to main, build the project and publish it on
2
- # TestPyPI. Moreover, if the commit is tagged, it will also be published on PyPI.
1
+ # This workflow will, on push to tag, build the project and publish it PyPI and GH.
3
2
 
4
- name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
3
+ name: Publish Python 🐍 distribution 📦 to PyPI and GitHub
5
4
 
6
5
  on:
7
6
  push:
8
- branches: [ "main" ]
7
+ tags:
8
+ - "v[0-9]+.[0-9]+.[0-9]+"
9
9
 
10
10
  jobs:
11
11
  build:
@@ -35,34 +35,10 @@ jobs:
35
35
  name: python-package-distributions
36
36
  path: dist/
37
37
 
38
- publish-to-testpypi:
39
- name: Publish Python 🐍 distribution 📦 to TestPyPI
40
- needs:
41
- - build
42
- runs-on: ubuntu-latest
43
-
44
- environment:
45
- name: testpypi
46
- url: https://test.pypi.org/p/plotis
47
-
48
- permissions:
49
- id-token: write # IMPORTANT: mandatory for trusted publishing
50
-
51
- steps:
52
- - name: Download all the dists
53
- uses: actions/download-artifact@v3
54
- with:
55
- name: python-package-distributions
56
- path: dist/
57
- - name: Publish distribution 📦 to TestPyPI
58
- uses: pypa/gh-action-pypi-publish@release/v1
59
- with:
60
- repository-url: https://test.pypi.org/legacy/
61
-
62
38
  publish-to-pypi:
63
39
  name: >-
64
40
  Publish Python 🐍 distribution 📦 to PyPI
65
- if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
41
+ #if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
66
42
  needs:
67
43
  - build
68
44
  runs-on: ubuntu-latest
@@ -0,0 +1,60 @@
1
+ # This workflow will, when pushing to main, build the project and publish it on
2
+ # TestPyPI.
3
+
4
+ name: Publish Python 🐍 distribution 📦 to TestPyPI
5
+
6
+ on:
7
+ push:
8
+ branches: [ "main" ]
9
+
10
+ jobs:
11
+ build:
12
+ name: Build distribution 📦
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Set up Python 3.10
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.10"
21
+
22
+ - name: Install pypa/build
23
+ run: >-
24
+ python3 -m
25
+ pip install
26
+ build
27
+ --user
28
+
29
+ - name: Build a binary wheel and a source tarball
30
+ run: python3 -m build
31
+
32
+ - name: Store the distribution packages
33
+ uses: actions/upload-artifact@v3
34
+ with:
35
+ name: python-package-distributions
36
+ path: dist/
37
+
38
+ publish-to-testpypi:
39
+ name: Publish Python 🐍 distribution 📦 to TestPyPI
40
+ needs:
41
+ - build
42
+ runs-on: ubuntu-latest
43
+
44
+ environment:
45
+ name: testpypi
46
+ url: https://test.pypi.org/p/plotis
47
+
48
+ permissions:
49
+ id-token: write # IMPORTANT: mandatory for trusted publishing
50
+
51
+ steps:
52
+ - name: Download all the dists
53
+ uses: actions/download-artifact@v3
54
+ with:
55
+ name: python-package-distributions
56
+ path: dist/
57
+ - name: Publish distribution 📦 to TestPyPI
58
+ uses: pypa/gh-action-pypi-publish@release/v1
59
+ with:
60
+ repository-url: https://test.pypi.org/legacy/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plotis
3
- Version: 0.1.6.2
3
+ Version: 0.1.8
4
4
  Summary: Plot isolation tool for pyhton
5
5
  Project-URL: Homepage, https://github.com/victorbrun/plotis
6
6
  Project-URL: Issues, https://github.com/victorbrun/plotis/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "plotis"
3
- version = "0.1.6.2"
3
+ version = "0.1.8"
4
4
  authors = [
5
5
  { name="Victor Brun", email="me@victorbrun.com" },
6
6
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes