File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish (TestPyPI)
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*.*.*"
7+
8+ jobs :
9+ build-publish :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.11"
19+ cache : " pip"
20+
21+ - name : Build package
22+ run : |
23+ python -m pip install --upgrade pip build
24+ python -m build
25+
26+ - name : Upload to TestPyPI
27+ uses : pypa/gh-action-pypi-publish@release/v1
28+ with :
29+ repository-url : https://test.pypi.org/legacy/
30+ password : ${{ secrets.TEST_PYPI_TOKEN }}
Original file line number Diff line number Diff line change 1818
1919# Local manual test checklist (не коммитится)
2020tests /LOCAL_CHECKLIST.md
21+
22+ # Build artifacts
23+ dist /
24+ * .egg-info /
25+
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " mailru-cloud-cli"
3+ version = " 1.3.0"
4+ description = " Неофициальный CLI-клиент для Mail.ru Cloud (WebDAV)"
5+ readme = " README.md"
6+ requires-python = " >=3.10"
7+ license = " MIT"
8+ authors = [
9+ {name = " mueqee" , email = " you@example.com" },
10+ ]
11+ classifiers = [
12+ " Programming Language :: Python :: 3" ,
13+ " Operating System :: OS Independent" ,
14+ " Environment :: Console" ,
15+ ]
16+
17+ dependencies = [
18+ " click>=8" ,
19+ " webdavclient3>=3.14" ,
20+ " pytest>=8" , # для пользователей, желающих запускать тесты
21+ ]
22+
23+ [project .scripts ]
24+ mailrucloud = " main:cli"
25+
26+ [project .urls ]
27+ Homepage = " https://github.com/mueqee/mailrucloud"
28+ Changelog = " https://github.com/mueqee/mailrucloud/blob/main/CHANGELOG.md"
29+
30+ [build-system ]
31+ requires = [" setuptools>=68" , " wheel" ]
32+ build-backend = " setuptools.build_meta"
33+
34+ [tool .setuptools ]
35+ py-modules = [
36+ " api" ,
37+ " auth" ,
38+ " cli" ,
39+ " download" ,
40+ " main" ,
41+ " network" ,
42+ " sync" ,
43+ " upload" ,
44+ ]
You can’t perform that action at this time.
0 commit comments