Skip to content

Commit

Permalink
Merge pull request #16 from alphal00p/better_build_system
Browse files Browse the repository at this point in the history
Fix symbolica import for python code check tests and add `extension-module` as a feature for `python_api` as it is needed on some MacOS setups.
  • Loading branch information
ValentinHirschi authored Apr 5, 2024
2 parents b6e4c0f + edd4f84 commit 35e60a1
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 72 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ python/gammaloop/dependencies/INSTALLED
python/gammaloop/dependencies/dependency_build.log
python/gammaloop/dependencies/venv/
python/gammaloop/dependencies/symbolica/
python/gammaloop/dependencies/test_quad_math/

# Translations
*.mo
Expand Down Expand Up @@ -176,4 +177,4 @@ default.nix
# End of https://www.toptal.com/developers/gitignore/api/rust,python

# Ignore the local test resources
src/test_resources/qqddg/
src/test_resources/qqddg/
108 changes: 54 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ bench = false
extension-module = ["pyo3/extension-module"]
default = ["python_api"]

python_api = ["pyo3"]
python_api = ["pyo3", "extension-module"]
binary = []
fail-on-warnings = []
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ git clone https://github.com/alphal00p/gammaloop.git && cd gammaloop

* `Rust`: v1.77+ You can easily instal Rust with this [one-liner](https://www.rust-lang.org/tools/install)

* `Python3`: v3.11+ (equipped with `pip`)
* `Python3`: v3.11+ (equipped with `pip`, and the `python-devel`)

* `GNU gcc`: v10+
* `GNU gcc`: v10+ (*not* `clang`!)

* `git`

Expand Down
Loading

0 comments on commit 35e60a1

Please sign in to comment.