Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples dev #53

Merged
merged 3 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,15 @@ feel free to create a PR to help out.

to add support for your favorite software, add a python module named after the software with a setup_menu function
where possible stick to the windows menu [design guidelines](https://learn.microsoft.com/en-us/previous-versions/windows/desktop/bb226797(v=vs.85))

- [ ] add editable install instructions

### samples
You can install the unimenu samples with
```bash
pip install git+https://github.com/hannesdelbeke/unimenu@main#subdirectory=dev
```
then you can run them with e.g.
```python
import unimenu_samples.any_dcc_test
```
6 changes: 6 additions & 0 deletions dev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dev related things go here, and can be installed with
```bash
pip install git+https://github.com/hannesdelbeke/unimenu@main#subdirectory=dev
```

later we can add tests here too.
38 changes: 38 additions & 0 deletions dev/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
#build-backend = "setuptools.build_meta"


[tool.setuptools]
packages = ["unimenu_samples"] # todo later add tests


[project]
name = "unimenu-dev"
authors = [
{name = "hannes"},
]
description = "modules to help with unimenu development"
readme = "README.md"
requires-python = ">=3.4"
keywords = ["unimenu", "menu", "dev"]
# license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3.7",
]
dependencies = [
'importlib-metadata; python_version<"3.7"', "unimenu",
]
#dynamic = ["version"]
version = "0.0.1"

[project.optional-dependencies]
yaml = ["pyyaml"]

#[project.scripts]
#my-script = "my_package.module:function"


[project.urls]
Homepage = "https://github.com/hannesdelbeke/unimenu"
Documentation = "https://github.com/hannesdelbeke/unimenu/wiki"
Empty file added dev/unimenu_samples/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.