Skip to content

Commit

Permalink
add MANIFEST file, restore include folder (#85)
Browse files Browse the repository at this point in the history
* add MANIFEST file, restore include folder

* fix pyproject.toml warning
  • Loading branch information
eloyfelix authored Nov 26, 2022
1 parent e59141f commit 3d29e55
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include FPSim2/src/include/*.hpp
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[project]
name = "FPSim2"
requires-python = ">=3.8"

[build-system]
requires = ["pybind11>=2.2", "setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __str__(self):
["FPSim2/src/sim.cpp", "FPSim2/src/utils.cpp", "FPSim2/src/wraps.cpp"]
),
include_dirs=[
"FPSim2/src/include",
# Path to pybind11 headers
get_pybind_include(),
],
Expand Down Expand Up @@ -141,6 +142,7 @@ def build_extensions(self):
"tqdm",
],
cmdclass={"build_ext": BuildExt},
python_requires=">=3.8",
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit 3d29e55

Please sign in to comment.