-
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 windows-support
- Loading branch information
Showing
10 changed files
with
138 additions
and
24 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
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,62 @@ | ||
name: Python/VENV/Installer Variants | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: | ||
# we test on lowest and highest supported versions | ||
- "3.8" | ||
- "3.12" | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: "pip" | ||
- name: VENV to be created with pip | ||
run: | | ||
make VENV_ENABLED=true VENV_CREATE=true PYTHON_PACKAGE_INSTALLER=pip test | ||
make clean | ||
- name: VENV to be created with uv to be installed | ||
run: | | ||
make VENV_ENABLED=true VENV_CREATE=true PYTHON_PACKAGE_INSTALLER=uv MXENV_UV_GLOBAL=false test | ||
make clean | ||
- name: VENV to be created with uv globally pre-installed | ||
run: | | ||
pip install uv | ||
make VENV_ENABLED=true VENV_CREATE=true PYTHON_PACKAGE_INSTALLER=uv MXENV_UV_GLOBAL=true test | ||
make clean | ||
pip uninstall -y uv | ||
- name: VENV pre-installed with pip | ||
run: | | ||
python -m venv existingvenv | ||
make VENV_ENABLED=true VENV_CREATE=false VENV_FOLDER=existingvenv PYTHON_PACKAGE_INSTALLER=pip test | ||
make clean | ||
rm -rf existingvenv | ||
- name: VENV pre-installed with uv to be installed | ||
run: | | ||
python -m venv existingvenv | ||
make VENV_ENABLED=true VENV_CREATE=false VENV_FOLDER=existingvenv PYTHON_PACKAGE_INSTALLER=uv MXENV_UV_GLOBAL=false test | ||
make clean | ||
rm -rf existingvenv | ||
- name: VENV pre-installed with uv globally pre-installed | ||
run: | | ||
python -m venv existingvenv | ||
pip install uv | ||
make VENV_ENABLED=true VENV_CREATE=false VENV_FOLDER=existingvenv PYTHON_PACKAGE_INSTALLER=uv MXENV_UV_GLOBAL=true test | ||
make clean | ||
pip uninstall -y uv | ||
rm -rf existingvenv | ||
- name: Global Python with pip | ||
run: | | ||
make VENV_ENABLED=false VENV_CREATE=false PYTHON_PACKAGE_INSTALLER=pip test | ||
make clean |
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
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "mxmake" | ||
description = "Generates a Python project-specific Makefile by using an extensible library of configurable Makefile snippets." | ||
version = "1.0a4.dev0" | ||
keywords = ["development", "deployment", "environment"] | ||
keywords = ["development", "deployment", "make"] | ||
authors = [ | ||
{name = "MX Stack Developers", email = "[email protected]" } | ||
] | ||
|
@@ -15,11 +15,11 @@ classifiers = [ | |
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
dependencies = [ | ||
"Jinja2", | ||
|
@@ -36,7 +36,7 @@ test = ["zope.testrunner"] | |
Homepage = "https://github.com/mxstack/mxmake" | ||
Documentation = "https://mxstack.github.io/mxmake" | ||
"Bug Reports" = "https://github.com/mxstack/mxmake/issues" | ||
Source = "https://github.com/mxstack/mxmake" | ||
Source = "https://github.com/mxstack/mxmake/tree/main" | ||
|
||
[project.scripts] | ||
mxmake = "mxmake.main:main" | ||
|
@@ -61,9 +61,6 @@ build-backend = "setuptools.build_meta" | |
[tool.distutils.bdist_wheel] | ||
universal = true | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
|
||
[tool.setuptools.dynamic] | ||
readme = {file = ["README.md", "CHANGES.md", "LICENSE.md"], content-type = "text/markdown"} | ||
|
||
|
@@ -82,3 +79,4 @@ lines_after_imports = 2 | |
|
||
[tool.mypy] | ||
ignore_missing_imports = true | ||
python_version = 3.8 |
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
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