Skip to content

Commit ffe22f1

Browse files
chore: add LICENSE and configure pyproject.toml for PyPI packaging (#3)
* chore: add LICENSE and configure pyproject.toml for PyPI packaging Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: add CI workflow and Python 3.13 classifier Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: replace em dash with hyphen in services_to_toml to fix Windows encoding Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b504187 commit ffe22f1

4 files changed

Lines changed: 84 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
cache: 'pip'
25+
26+
- name: Install package and test dependencies
27+
run: |
28+
pip install -e .
29+
pip install pytest
30+
31+
- name: Run tests
32+
run: pytest tests/ -v

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Ayush Jhunjhunwala
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,37 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "devmux"
77
version = "0.1.0"
8+
description = "Start all your dev services with one command"
9+
readme = "README.md"
810
requires-python = ">=3.9"
11+
license = { text = "MIT" }
12+
authors = [
13+
{ name = "Ayush Jhunjhunwala", email = "ayushjhun13@gmail.com" }
14+
]
15+
keywords = ["dev", "services", "runner", "process", "developer-tools", "cli"]
16+
classifiers = [
17+
"Development Status :: 3 - Alpha",
18+
"Environment :: Console",
19+
"Intended Audience :: Developers",
20+
"License :: OSI Approved :: MIT License",
21+
"Operating System :: OS Independent",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
28+
"Topic :: Software Development :: Build Tools",
29+
"Topic :: Utilities",
30+
]
31+
dependencies = [
32+
"tomli; python_version < '3.11'",
33+
]
34+
35+
[project.urls]
36+
Homepage = "https://github.com/the-non-expert/devmux"
37+
Repository = "https://github.com/the-non-expert/devmux"
38+
"Bug Tracker" = "https://github.com/the-non-expert/devmux/issues"
939

1040
[project.scripts]
1141
devmux = "devmux.cli:main"

src/devmux/discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def services_to_toml(services: List[Service]) -> str:
493493
"""
494494
lines: List[str] = [
495495
"# Generated by devmux auto-discovery.",
496-
"# Edit freely devmux will use this file on all future runs.",
496+
"# Edit freely - devmux will use this file on all future runs.",
497497
"",
498498
]
499499
for svc in services:

0 commit comments

Comments
 (0)