-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: put python source in src/mt2 to avoid import confusion (#58)
* build: put python source in src/mt2 to avoid import confusion * optional: shared object only shows up within mt2 installation area * Remove unnecessary files from source build * Don't need source dir as an include dir * Actually none of this is needed any more :) * Bump version to 1.2.2 * Fix * Add useful Makefile targets for testingwheel locally * Also remove testdir --------- Co-authored-by: Tom Gillam <[email protected]>
- Loading branch information
Showing
12 changed files
with
35 additions
and
17 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 |
---|---|---|
@@ -1,4 +1,2 @@ | ||
include *.rst | ||
include Makefile | ||
recursive-include examples *.ipynb | ||
recursive-include src *.h | ||
exclude examples/* | ||
include src/_mt2/*.h |
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,6 @@ | ||
[project] | ||
name = "mt2" | ||
version = "1.2.1" | ||
version = "1.2.2" | ||
description = "Stransverse mass computation as a numpy ufunc." | ||
authors = [ | ||
{ name = "Tom Gillam", email = "[email protected]" }, | ||
|
@@ -29,8 +29,3 @@ urls = { Homepage = "https://github.com/tpgillam/mt2" } | |
requires = ["setuptools>=61.0", "numpy"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["mt2*"] | ||
|
||
[tool.setuptools.package-data] | ||
mt2 = ["src/*.h", "src/*.cpp"] |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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