File tree Expand file tree Collapse file tree 4 files changed +37
-35
lines changed Expand file tree Collapse file tree 4 files changed +37
-35
lines changed Original file line number Diff line number Diff line change 3232 password : ${{ secrets.pypi_password }}
3333 - name : Version
3434 id : version
35- run : echo "::set-output name=version::$(python setup.py --version 2>/dev/null)"
35+ run : |
36+ echo version=$(python -c "from trove_classifiers import version; print(version.__version__)" 2>/dev/null) >> $GITHUB_OUTPUT
3637 - name : Tag
3738 uses : actions/create-release@v1
3839 env :
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools" , " calver " ]
2+ requires = [" setuptools >= 61.0 " ]
33build-backend = " setuptools.build_meta"
44
5+ [project ]
6+ name = " trove-classifiers"
7+ readme = " README.md"
8+ description = " Canonical source for classifiers on PyPI (pypi.org)."
9+ authors = [{
name =
" The PyPI Admins" ,
email =
" [email protected] " }]
10+ classifiers = [
11+ " Development Status :: 5 - Production/Stable" ,
12+ " Intended Audience :: Developers" ,
13+ " License :: OSI Approved :: Apache Software License" ,
14+ " Programming Language :: Python :: 3" ,
15+ " Typing :: Typed" ,
16+ ]
17+ keywords = [" classifiers" ]
18+ dynamic = [" version" ]
19+
20+ [project .urls ]
21+ Homepage = " https://github.com/pypa/trove-classifiers"
22+
23+ [tool .setuptools ]
24+ package-dir = {"" = " src" }
25+ include-package-data = false
26+
27+ [tool .setuptools .packages .find ]
28+ where = [" src" ]
29+ namespaces = false
30+
31+ [tool .setuptools .package-data ]
32+ "*" = [" py.typed" ]
33+
34+ [tool .setuptools .dynamic .version ]
35+ attr = " trove_classifiers.version.__version__"
36+
37+
538[mypy ]
639strict = true
740warn_unreachable = true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ __version__ = "2022.12.22"
You can’t perform that action at this time.
0 commit comments