File tree 4 files changed +15
-9
lines changed
underautomation/universal_robots/lib
4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,22 @@ jobs:
11
11
runs-on : windows-2022
12
12
13
13
steps :
14
- - uses : actions/checkout@v1
14
+ - uses : actions/checkout@v4
15
15
- name : Set up Python
16
16
uses : actions/setup-python@v3
17
17
with :
18
18
python-version : ' 3.x'
19
- - name : Build and publish
19
+ - name : Install dependencies
20
20
run : |
21
21
python -m pip install --upgrade pip
22
- pip install twine
23
- pip install --upgrade setuptools
24
- python setup.py sdist bdist_wheel
25
- twine upload dist/* -u __token__ -p $PYPI_TOKEN
22
+ pip install build
23
+ - name : Build package
24
+ run : python -m build
25
+ - name : Publish package
26
+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
27
+ with :
28
+ user : __token__
29
+ password : ${{ secrets.PYPI_TOKEN }}
26
30
- uses : ncipollo/release-action@v1
27
31
with :
28
32
artifacts : " "
Original file line number Diff line number Diff line change 1
1
import setuptools
2
- from underautomation .universal_robots .lib .version import VERSION
3
2
4
3
with open ('README.md' , "r" , encoding = "utf-8" ) as fh :
5
4
long_description = fh .read ()
6
5
6
+ with open ('underautomation/universal_robots/lib/version.txt' , "r" , encoding = "utf-8" ) as fh :
7
+ version = fh .read ()
8
+
7
9
setuptools .setup (
8
10
name = "UnderAutomation.UniversalRobots" ,
9
- version = VERSION ,
11
+ version = version ,
10
12
author = "UnderAutomation" ,
11
13
author_email = "support@underautomation.com" ,
12
14
description = "Quickly create applications that communicate with your Universal Robots cobot" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ 7.4.1.0
You can’t perform that action at this time.
0 commit comments