-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use poetry to manage project settings and provide pyinstaller build (#…
…199) * try using poetry and poetry build. fix application_path for executable * cleanup pyproject.toml * add arch value for macOS * use typehint for older pythons * switch macOS to x86_64 * add metadata * use pyproject.toml * update changelog * remove setup.cfg * use requirements export from poetry * update python action * use specific numpy+scipy versions
- Loading branch information
Showing
13 changed files
with
889 additions
and
206 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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
[bumpversion] | ||
current_version = 0.12.1 | ||
|
||
[bumpversion:file:setup.cfg] | ||
[bumpversion:file:pyproject.toml] | ||
search = {current_version} | ||
|
||
[bumpversion:file:CHANGELOG.md] | ||
search = Next Release |
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
CHANGELOG | ||
===== | ||
|
||
Next Release | ||
----- | ||
|
||
Features: | ||
|
||
* migrating to poetry for project management | ||
|
||
0.12.1 | ||
----- | ||
|
||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,57 @@ | ||
[tool.poetry] | ||
name = "hvcc" | ||
version = "0.12.1" | ||
description = "`hvcc` is a python-based dataflow audio programming language compiler that generates C/C++ code and a variety of specific framework wrappers." | ||
authors = ["Enzien Audio, Wasted Audio"] | ||
license = "GPLv3" | ||
readme = "README.md" | ||
documentation = "https://wasted-audio.github.io/hvcc/" | ||
repository = "https://github.com/Wasted-Audio/hvcc" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Compilers", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"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" | ||
] | ||
|
||
[tool.poetry.scripts] | ||
hvcc = "hvcc:main" | ||
hvutil = "hvcc.utils:main" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8.1" | ||
Jinja2 = ">=2.11" | ||
importlib-resources = ">=5.1" | ||
wstd2daisy = ">=0.5.3" | ||
pydantic = ">=2.9.1" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
numpy = [ | ||
{ version = "^2.0.1", python = "^3.9" }, | ||
{ version = "^1.24.3", python = "==3.8"} | ||
] | ||
scipy = [ | ||
{ version = "^1.13.1", python = "^3.9"}, | ||
{ version = "^1.9.1", python = "==3.8"} | ||
] | ||
pytest-cov = "^5.0.0" | ||
flake8 = "^7.1.1" | ||
mypy = "^1.11.2" | ||
pytest = "^8.3.3" | ||
|
||
[tool.poetry-pyinstaller-plugin] | ||
collect = { all = ["json2daisy"] } | ||
include = { "hvcc/generators" = "hvcc/generators", "hvcc/core" = "hvcc/core", "hvcc/interpreters" = "hvcc/interpreters" } | ||
|
||
|
||
[tool.poetry-pyinstaller-plugin.scripts] | ||
Heavy = { source = "hvcc/__init__.py", type = "onefile", bundle = true, arch = "x86_64" } | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
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 |
---|---|---|
@@ -1,3 +1,20 @@ | ||
numpy | ||
scipy | ||
requests | ||
colorama==0.4.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and sys_platform == "win32" | ||
coverage[toml]==7.6.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
exceptiongroup==1.2.2 ; python_full_version >= "3.8.1" and python_version < "3.11" | ||
flake8==7.1.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
iniconfig==2.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
mccabe==0.7.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
mypy-extensions==1.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
mypy==1.11.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
numpy==1.24.4 ; python_full_version >= "3.8.1" and python_version == "3.8" | ||
numpy==2.0.2 ; python_version >= "3.9" and python_version < "4.0" | ||
packaging==24.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
pluggy==1.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
pycodestyle==2.12.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
pyflakes==3.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
pytest-cov==5.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
pytest==8.3.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
scipy==1.10.1 ; python_full_version >= "3.8.1" and python_version == "3.8" | ||
scipy==1.13.1 ; python_version >= "3.9" and python_version < "4.0" | ||
tomli==2.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.11.0a6" | ||
typing-extensions==4.12.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" |
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 |
---|---|---|
@@ -1 +1,9 @@ | ||
. | ||
annotated-types==0.7.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
importlib-resources==6.4.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
jinja2==3.1.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
markupsafe==2.1.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
pydantic-core==2.23.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
pydantic==2.9.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
typing-extensions==4.12.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
wstd2daisy==0.5.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" | ||
zipp==3.20.2 ; python_full_version >= "3.8.1" and python_version < "3.10" |
This file was deleted.
Oops, something went wrong.
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