-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
105 additions
and
49 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,2 +1,2 @@ | ||
recursive-include src/cpymad *.pxd *.pyx *.c | ||
recursive-include src/cpymad *.pxd *.pyx | ||
recursive-include test *.py *.madx |
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,4 @@ | ||
pyproject.toml: cython | ||
cpymad.selfcheck | ||
|
||
musllinux... |
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,32 @@ | ||
https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html#using-manifest-in | ||
https://setuptools.pypa.io/en/latest/userguide/datafiles.html | ||
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html | ||
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ | ||
https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/ | ||
|
||
|
||
|
||
https://docs.astral.sh/ruff/configuration/ | ||
|
||
|
||
|
||
https://github.com/actions/runner-images#available-images | ||
https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#available-versions-of-python-pypy-and-graalpy | ||
https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories | ||
https://xcodereleases.com/ | ||
|
||
https://devguide.python.org/versions/ | ||
|
||
|
||
https://py-free-threading.github.io/ci/ | ||
|
||
|
||
|
||
|
||
https://www.vim.org/scripts/script.php?script_id=2830 | ||
|
||
|
||
#ifdef __GNUC__ | ||
#ifdef __MINGW32__ | ||
|
||
|
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,68 @@ | ||
[project] | ||
name = "cpymad" | ||
description = "Cython binding to MAD-X" | ||
dynamic = ["version"] | ||
|
||
authors = [ | ||
{name = "Thomas Gläßle", email = "t_glaessle@gmx.de"}, | ||
{name = "Yngve Inntjore Levinsen"}, | ||
{name = "Kajetan Fuchsberger"}, | ||
] | ||
maintainers = [ | ||
{name = "Thomas Gläßle", email = "t_glaessle@gmx.de"}, | ||
{name = "Riccardo De Maria", email = "riccardodemaria@gmail.com"}, | ||
] | ||
|
||
readme = {file = "README.rst", content-type = "text/x-rst"} | ||
license = {file = "COPYING.rst", text = "GPLv3+"} | ||
|
||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"License :: OSI Approved :: Apache Software License", | ||
"License :: Other/Proprietary License", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
] | ||
|
||
urls.Github = "https://github.com/hibtc/cpymad" | ||
urls.Issues = "https://github.com/hibtc/cpymad/issues" | ||
urls.Documentation = "http://hibtc.github.io/cpymad/" | ||
urls.Changelog = "https://github.com/hibtc/cpymad/blob/master/CHANGES.rst" | ||
|
||
requires-python = ">=3.5" | ||
|
||
dependencies = [ | ||
"numpy", | ||
"minrpc>=0.1.0", | ||
] | ||
optional-dependencies.doc = [ | ||
"sphinx", | ||
"sphinx_rtd_theme", | ||
"sphinx_substitution_extensions", | ||
"sphinx_automodapi", | ||
"sphinx_autodoc_typehints", | ||
"pandas", | ||
] | ||
optional-dependencies.dev = [ | ||
"cython", | ||
"flake8", | ||
"pytest", | ||
] | ||
|
||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools >= 61.0", | ||
"cython>=3.1.0a1 ; python_version >= '3.13'", # Cython3.1 needed for free-threaded python | ||
"cython<3 ; python_version < '3.8'", # Cython3.1 dropped support for python<3.8 | ||
"cython ; python_version >= '3.8' and python_version < '3.13'", # no particular requirements | ||
] | ||
|
||
[tool.setuptools] | ||
dynamic.version.attr = "cpymad.__version__" | ||
include-package-data = true |
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