-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into run_command
- Loading branch information
Showing
3 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Publish Python Package | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' # Matches version tags like v1.0.0, v2.1.3, etc. | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build setuptools-scm | ||
- name: Build the package | ||
run: python -m build | ||
|
||
- name: Publish to PyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
pip install twine | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,41 @@ name = "dir-wand" | |
# Dynamic version numbers from git | ||
dynamic = ["version"] | ||
|
||
description = "A CLI tool that automates the creation of directory structures from templates and populates placeholder variables." | ||
|
||
description = "A CLI tool for making many directories from a template automagically." | ||
authors = [ | ||
{ name = "Will Roper", email = "[email protected]" } | ||
] | ||
readme = "README.md" | ||
license = { file = "LICENSE" } | ||
|
||
# Minimum Python version | ||
requires-python = ">=3.8" | ||
|
||
license = { text = "GNU" } | ||
# No dependencies to run | ||
dependencies = [] | ||
|
||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: End Users/Desktop", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License (GPL)", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Operating System :: OS Independent", | ||
"Topic :: Software Development :: Build Tools", | ||
"Topic :: Utilities" | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/WillJRoper/dir-wand" | ||
"Source" = "https://github.com/WillJRoper/dir-wand" | ||
"Tracker" = "https://github.com/WillJRoper/dir-wand/issues" | ||
|
||
# Optional dependencies for specific use cases | ||
[project.optional-dependencies] | ||
# Development | ||
|