File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 20
20
- name : Install dependencies
21
21
run : |
22
22
python -m pip install --upgrade pip
23
- pip install ruff
23
+ pip install ruff twine
24
24
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25
25
26
26
- name : Lint
31
31
- name : Test
32
32
run : |
33
33
python -m unittest discover -s ./tests -p 'test_*.py'
34
+
35
+ - name : Package
36
+ run : |
37
+ python -m build
38
+ python -m twine check dist/*
Original file line number Diff line number Diff line change 4
4
from distutils .core import setup
5
5
6
6
setup (
7
- name = 'karcher' ,
8
- packages = ['karcher' ],
7
+ name = 'karcher' ,
8
+ packages = ['karcher' ],
9
9
include_package_data = True ,
10
- version = '0.1' ,
10
+ version = '0.1' ,
11
11
license = 'MIT' ,
12
- description = 'Kärcher Home Robots client' ,
13
- author = 'Lauris BH' ,
14
- author_email = '[email protected] ' ,
15
- url = 'https://github.com/lafriks/karcher' ,
16
- download_url = 'https://github.com/lafriks/karcher/archive/v_0.1.tar.gz' ,
12
+ description = 'Kärcher Home Robots client' ,
13
+ long_description = open ('README.md' ).read (),
14
+ long_description_content_type = 'text/markdown' ,
15
+ author = 'Lauris BH' ,
16
+
17
+ url = 'https://github.com/lafriks/karcher' ,
18
+ download_url = 'https://github.com/lafriks/karcher/archive/v0.1.tar.gz' ,
19
+ platforms = 'any' ,
17
20
install_requires = [
18
21
'requests' ,
19
22
'tzlocal' ,
You can’t perform that action at this time.
0 commit comments